Explorar o código

added 64k hls stream

Luke Pulverenti %!s(int64=11) %!d(string=hai) anos
pai
achega
87c4d447f8
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      MediaBrowser.Api/Playback/Hls/BaseHlsService.cs

+ 3 - 3
MediaBrowser.Api/Playback/Hls/BaseHlsService.cs

@@ -143,9 +143,9 @@ namespace MediaBrowser.Api.Playback.Hls
             builder.AppendLine(playlistUrl);
             builder.AppendLine(playlistUrl);
 
 
             // Low bitrate stream
             // Low bitrate stream
-            //builder.AppendLine("#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=64000");
-            //playlistUrl = "hls/" + Path.GetFileName(firstPlaylist).Replace(".m3u8", "-low/stream.m3u8");
-            //builder.AppendLine(playlistUrl);
+            builder.AppendLine("#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=64000");
+            playlistUrl = "hls/" + Path.GetFileName(firstPlaylist).Replace(".m3u8", "-low/stream.m3u8");
+            builder.AppendLine(playlistUrl);
 
 
             return builder.ToString();
             return builder.ToString();
         }
         }