mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 04:52:18 +00:00
fix: rtsp live stream ffprobe timeout (#11279)
This commit is contained in:
parent
0af101cbf7
commit
4440600379
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue