ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.82k stars 5.4k forks source link

fix rtc over tcp crash when stop rtc publish. #4222

Open suzp1984 opened 2 weeks ago

suzp1984 commented 2 weeks ago

@see https://github.com/ossrs/srs/issues/4220

try to resolve #4220

Not easy to reproduce this bug, but sent it to review anyway.