fix: 修复c sdk 信令服务及ice服务未关闭问题 (#4475)

This commit is contained in:
Lidaofu
2025-09-26 17:51:33 +08:00
committed by GitHub
parent 1bb3b43313
commit be6f6a6690

View File

@@ -82,6 +82,9 @@ API_EXPORT void API_CALL mk_stop_all_server(){
#ifdef ENABLE_WEBRTC
rtcServer_udp = nullptr;
rtcServer_tcp = nullptr;
iceServer_udp = nullptr;
iceServer_tcp = nullptr;
CLEAR_ARR(signaling_server);
#endif
#ifdef ENABLE_SRT
srtServer = nullptr;