Fix signal server member list error when rejoin same one connection

This commit is contained in:
dijunkun
2023-10-11 14:26:57 +08:00
parent 683235fa3f
commit 682fa0ff17
4 changed files with 53 additions and 23 deletions

View File

@@ -212,6 +212,11 @@ int PeerConnection::Leave() {
LOG_INFO("[{}] sends leave transmission [{}] notification ", user_id_,
transmission_id_);
}
for (auto &user_id_it : ice_transmission_list_) {
user_id_it.second->DestroyIceTransmission();
}
return 0;
}