Parcourir la source

add sync values for live tv

Luke Pulverenti il y a 11 ans
Parent
commit
6b7059cfb4
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      MediaBrowser.Api/Playback/BaseStreamingService.cs

+ 4 - 0
MediaBrowser.Api/Playback/BaseStreamingService.cs

@@ -1358,6 +1358,8 @@ namespace MediaBrowser.Api.Playback
                 state.ReadInputAtNativeFramerate = recording.RecordingInfo.Status == RecordingStatus.InProgress;
                 state.AudioSync = "1000";
                 state.DeInterlace = true;
+                state.InputVideoSync = "-1";
+                state.InputAudioSync = "1";
             }
             else if (item is LiveTvChannel)
             {
@@ -1387,6 +1389,8 @@ namespace MediaBrowser.Api.Playback
                 state.ReadInputAtNativeFramerate = true;
                 state.AudioSync = "1000";
                 state.DeInterlace = true;
+                state.InputVideoSync = "-1";
+                state.InputAudioSync = "1";
             }
             else
             {