ossrs / srs

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

Debug: reuse endpoint with RTC and server error. #4024

Closed suzp1984 closed 2 months ago

suzp1984 commented 2 months ago

https://github.com/ossrs/srs/blob/427104f1dab86f5afc7d7b49b02ed27d03ef9346/trunk/src/app/srs_app_server.cpp#L1197-L1201

I believe this is a mistake, if reuse the RTC and http server listener, then Http Server connection will be created with incorrect SSL options.

suzp1984 commented 2 months ago

conflict with #4028 , so close this one.