mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03:00
fix: rtsp live stream ffprobe timeout (#11279)
This commit is contained in:
@@ -463,6 +463,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
extraArgs += " -user_agent " + userAgent;
|
||||
}
|
||||
|
||||
if (request.MediaSource.Protocol == MediaProtocol.Rtsp)
|
||||
{
|
||||
extraArgs += " -rtsp_transport tcp+udp -rtsp_flags prefer_tcp";
|
||||
}
|
||||
|
||||
return extraArgs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user