File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
samples/LiveStreamingServerNet.HlsAzureBlobStorageDemo Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 5
5
using LiveStreamingServerNet . StreamProcessor . Hls ;
6
6
using LiveStreamingServerNet . StreamProcessor . Hls . Contracts ;
7
7
using LiveStreamingServerNet . StreamProcessor . Installer ;
8
- using LiveStreamingServerNet . StreamProcessor . Utilities ;
9
8
using LiveStreamingServerNet . Utilities . Contracts ;
10
9
using Microsoft . Extensions . Logging ;
11
10
using System . Net ;
@@ -25,6 +24,7 @@ private static ILiveStreamingServer CreateLiveStreamingServer()
25
24
{
26
25
return LiveStreamingServerBuilder . Create ( )
27
26
. ConfigureRtmpServer ( options => options
27
+ . Configure ( config => config . EnableGopCaching = false )
28
28
. AddStreamProcessor ( options =>
29
29
{
30
30
var blobContainerClient = new BlobContainerClient (
@@ -37,9 +37,7 @@ private static ILiveStreamingServer CreateLiveStreamingServer()
37
37
. AddAzureBlobStorage ( blobContainerClient ) ;
38
38
} ) ;
39
39
} )
40
- . AddFFmpeg ( options =>
41
- options . FFmpegPath = ExecutableFinder . FindExecutableFromPATH ( "ffmpeg" ) !
42
- )
40
+ . AddHlsTransmuxer ( )
43
41
)
44
42
. ConfigureLogging ( options => options . AddConsole ( ) )
45
43
. Build ( ) ;
You can’t perform that action at this time.
0 commit comments