fix: rtsp live stream ffprobe timeout (#11279)

pull/10900/head^2
Caidy 1 month ago committed by GitHub
parent 0af101cbf7
commit 4440600379
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save