The Free Software Media System - Server Backend & API
enable 64k playlist
Luke Pulverenti8204d8938a72
diff --git a/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs b/MediaBrowser.Api/Playback/Hls/BaseHlsService.csindex 9656043f81..7db38ddfcf 100644--- a/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs+++ b/MediaBrowser.Api/Playback/Hls/BaseHlsService.cs@@ -149,9 +149,9 @@ namespace MediaBrowser.Api.Playback.Hlsbuilder.AppendLine(playlistUrl);// 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();}