bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.71k stars 1.4k forks source link

fix rtmp server miss the opportunity to read metadata when clients send set chunk size message after publishing stream. #3302

Closed xjr20042 closed 2 months ago

xjr20042 commented 2 months ago

some rtmp client will send set chunk size after publishing stream, which causes the metadata to fail to be read. I add code to skip set chunk size message in readTracks() in rtmp/reader.go.

aler9 commented 2 months ago

merged, thanks!

github-actions[bot] commented 1 month ago

This issue is mentioned in release v1.8.1 🚀 Check out the entire changelog by clicking here