mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-08-05 08:40:11 -04:00
fix: rtsp live stream ffprobe timeout (#11279)
This commit is contained in:
parent
0af101cbf7
commit
4440600379
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user