This commit is contained in:
@ -14,6 +14,8 @@ SignalServer::SignalServer(Application &app) {
|
||||
if (boost::beast::websocket::is_upgrade(request)) {
|
||||
auto ws = std::make_shared<WebSocketSignalSession>(session.releaseSocket(), *this, id);
|
||||
ws->run(request);
|
||||
} else {
|
||||
LOG(error) << "webrtc client[" << id << "] not upgrade connection, request: " << std::endl << request;
|
||||
}
|
||||
});
|
||||
// clang-format on
|
||||
@ -36,4 +38,4 @@ WebSocketSignalSession *SignalServer::client(const std::string &id) {
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
} // namespace Older
|
Reference in New Issue
Block a user