[fix] only offer peer use use id list to create ice agent

This commit is contained in:
dijunkun
2024-09-02 16:54:29 +08:00
parent 98bd477af5
commit fd392922d7
2 changed files with 10 additions and 6 deletions

View File

@@ -136,6 +136,7 @@ class PeerConnection {
std::function<void(const std::string &)> on_receive_ws_msg_ = nullptr;
std::function<void(WsStatus)> on_ws_status_ = nullptr;
unsigned int ws_connection_id_ = 0;
bool offer_peer_ = false;
std::string user_id_ = "";
std::string local_transmission_id_ = "";
std::string remote_transmission_id_ = "";