1
0
Fork 0
forked from External/mediamtx

RTMP source: apply read and write timeouts to connection initialization

This commit is contained in:
aler9 2021-04-24 20:47:43 +02:00
parent a1a56ff203
commit faf8d24dff
4 changed files with 181 additions and 150 deletions

View file

@ -420,6 +420,7 @@ func (pa *Path) startExternalSource() {
pa.source = sourcertmp.New(
pa.conf.Source,
pa.readTimeout,
pa.writeTimeout,
&pa.sourceWg,
pa.stats,
pa)