mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] fix ice status error during closing ice connection
This commit is contained in:
@@ -305,6 +305,11 @@ int IceAgent::Send(const char *data, size_t size) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (agent_closed_) {
|
||||
LOG_ERROR("Nice agent is closed");
|
||||
return -1;
|
||||
}
|
||||
|
||||
// if (NiceComponentState::NICE_COMPONENT_STATE_READY !=
|
||||
// nice_agent_get_component_state(agent_, stream_id_, 1)) {
|
||||
// LOG_ERROR("Nice agent not ready");
|
||||
|
||||
Reference in New Issue
Block a user