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.37k stars 5.34k forks source link

SmartPtr: Support load test for source by srs-bench. v6.0.130 #4097

Closed winlinvip closed 3 months ago

winlinvip commented 3 months ago
  1. Add live benchmark support in srs-bench, which only connects and disconnects without any media transport, to test source creation and disposal and verify source memory leaks.
  2. SmartPtr: Support cleanup of HTTP-FLV stream. Unregister the HTTP-FLV handler for the pattern and clean up the objects and resources.
  3. Support benchmarking RTMP/SRT with srs-bench by integrating the gosrt and oryx RTMP libraries.
  4. Refine SRT and RTC sources by using a timer to clean up the sources, following the same strategy as the Live source.

Co-authored-by: Haibo Chen 495810242@qq.com Co-authored-by: Jacob Su suzp1984@gmail.com