mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Add closed status for ice
This commit is contained in:
@@ -101,6 +101,10 @@ int PeerConnection::Init(PeerConnectionParams params,
|
||||
on_connection_status_(ConnectionStatus::Connected);
|
||||
b_force_i_frame_ = true;
|
||||
LOG_INFO("Ice finish");
|
||||
} else if ("closed" == ice_status) {
|
||||
ice_ready_ = false;
|
||||
on_connection_status_(ConnectionStatus::Closed);
|
||||
LOG_INFO("Ice closed");
|
||||
} else {
|
||||
ice_ready_ = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user