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.87k stars 5.39k forks source link

Fix crash when quiting. v6.0.151 v7.0.10 #4157

Closed winlinvip closed 3 months ago

winlinvip commented 3 months ago
  1. Remove the srs_global_dispose, which causes the crash when still publishing when quit.
  2. Always call _srs_thread_pool->initialize for single thread.
  3. Support --signal-api to send signal by HTTP API, because CLion eliminate the signals.