Fix RTMP issue for ITV channel.
This commit is contained in:
parent
2a9e477812
commit
42a8258081
|
@ -1417,6 +1417,7 @@ namespace MediaBrowser.Api.Playback
|
||||||
List<MediaStream> mediaStreams = null;
|
List<MediaStream> mediaStreams = null;
|
||||||
|
|
||||||
state.ItemType = item.GetType().Name;
|
state.ItemType = item.GetType().Name;
|
||||||
|
state.ReadInputAtNativeFramerate = true;
|
||||||
|
|
||||||
if (item is ILiveTvRecording)
|
if (item is ILiveTvRecording)
|
||||||
{
|
{
|
||||||
|
@ -1478,7 +1479,6 @@ namespace MediaBrowser.Api.Playback
|
||||||
state.IsInputVideo = string.Equals(channel.MediaType, MediaType.Video, StringComparison.OrdinalIgnoreCase);
|
state.IsInputVideo = string.Equals(channel.MediaType, MediaType.Video, StringComparison.OrdinalIgnoreCase);
|
||||||
mediaStreams = new List<MediaStream>();
|
mediaStreams = new List<MediaStream>();
|
||||||
|
|
||||||
state.ReadInputAtNativeFramerate = true;
|
|
||||||
state.OutputAudioSync = "1000";
|
state.OutputAudioSync = "1000";
|
||||||
state.DeInterlace = true;
|
state.DeInterlace = true;
|
||||||
state.InputVideoSync = "-1";
|
state.InputVideoSync = "-1";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user