[feat] put ice agent into ice worker thread and use message queue to handle events

This commit is contained in:
dijunkun
2024-08-28 17:30:34 +08:00
parent 0b0e61cdc4
commit 0b11646619
3 changed files with 371 additions and 242 deletions

View File

@@ -87,6 +87,7 @@ void WsCore::Close(websocketpp::close::status::value code, std::string reason) {
if (ec) {
LOG_ERROR("Initiating close error: {}", ec.message());
}
OnWsStatus(WsStatus::WsClosed);
}
void WsCore::Send(std::string message) {