Skip to content

The Free Software Media System - Server Backend & API

add sync values for live tv

Luke Pulverenti6b7059cfb405
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 624c3eb0e6..e1f4799f18 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/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
{