mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-27 21:42:01 -08:00
RTMP source: apply read and write timeouts to connection initialization
This commit is contained in:
parent
a1a56ff203
commit
faf8d24dff
4 changed files with 181 additions and 150 deletions
|
|
@ -420,6 +420,7 @@ func (pa *Path) startExternalSource() {
|
|||
pa.source = sourcertmp.New(
|
||||
pa.conf.Source,
|
||||
pa.readTimeout,
|
||||
pa.writeTimeout,
|
||||
&pa.sourceWg,
|
||||
pa.stats,
|
||||
pa)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue