mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix answer query offer side sdp error
This commit is contained in:
@@ -118,7 +118,7 @@ void SignalServer::on_message(websocketpp::connection_hdl hdl,
|
|||||||
}
|
}
|
||||||
case 3: {
|
case 3: {
|
||||||
std::string transport_id = j["transport_id"];
|
std::string transport_id = j["transport_id"];
|
||||||
std::string sdp = offer_sdp_map_[transport_id_];
|
std::string sdp = offer_sdp_map_[transport_id];
|
||||||
LOG_INFO("send offer sdp [{}]", sdp.c_str());
|
LOG_INFO("send offer sdp [{}]", sdp.c_str());
|
||||||
json message = {{"type", "remote_sdp"}, {"sdp", sdp}};
|
json message = {{"type", "remote_sdp"}, {"sdp", sdp}};
|
||||||
send_msg(hdl, message);
|
send_msg(hdl, message);
|
||||||
|
|||||||
Reference in New Issue
Block a user