Browse Source

Merge pull request #8152 from thornbill/fix-rtsp-over-tcp

Fix support for rtsp streams over tcp
Cody Robibero 2 years ago
parent
commit
b2fb96ffed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 1 - 1
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -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))