Closed dmwhw closed 4 years ago
Submitted a fix with those parameters #54
I've merged #54. As far as you know, is there any downside to forcing TCP? Seems like there are very few streams that use UDP now for RTSP but I'm not sure. Any feedback is appreciated, thanks!
I've merged #54. As far as you know, is there any downside to forcing TCP? Seems like there are very few streams that use UDP now for RTSP but I'm not sure. Any feedback is appreciated, thanks!
i think it is a good idea to provides a option for user fill before "-i". as far as you know , there are other options ,such as "hwaccel " , which might be filled before "-i"; just like this...
` this.spawnOptions = [ ...this.preAdditionalFlagsBefore, "-i",
"\""+this.url +"\"", //url
'-f', 'mpegts', '-codec:v', 'mpeg1video',
// additional ffmpeg options go here
...this.additionalFlags, '-'
]`
-rtsp_transport tcp need to put before '-i'.but options all put behind ‘-i’