Backport pull request #8152 from jellyfin/release-10.8.z

Fix support for rtsp streams over tcp

Authored-by: Bill Thornton <billt2006@gmail.com>

Merged-by: Cody Robibero <cody@robibe.ro>

Original-merge: b2fb96ffed
pull/8171/head
Joshua Boniface 2 years ago
parent 410871e148
commit 76f7a80a97

@ -4970,7 +4970,7 @@ namespace MediaBrowser.Controller.MediaEncoding
if (state.InputProtocol == MediaProtocol.Rtsp) if (state.InputProtocol == MediaProtocol.Rtsp)
{ {
inputModifier += " -rtsp_transport tcp -rtsp_transport udp -rtsp_flags prefer_tcp"; inputModifier += " -rtsp_transport tcp+udp -rtsp_flags prefer_tcp";
} }
if (!string.IsNullOrEmpty(state.InputAudioSync)) if (!string.IsNullOrEmpty(state.InputAudioSync))

Loading…
Cancel
Save