Commit 07d92908 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

linphonecore.c: linphone_core_sound_resources_locked should return YES if ICE in progress

parent f38ccbc8
...@@ -7005,6 +7005,11 @@ bool_t linphone_core_sound_resources_locked(LinphoneCore *lc){ ...@@ -7005,6 +7005,11 @@ bool_t linphone_core_sound_resources_locked(LinphoneCore *lc){
MSList *elem; MSList *elem;
for(elem=lc->calls;elem!=NULL;elem=elem->next) { for(elem=lc->calls;elem!=NULL;elem=elem->next) {
LinphoneCall *c=(LinphoneCall*)elem->data; LinphoneCall *c=(LinphoneCall*)elem->data;
if (linphone_call_media_in_progress(c)) {
return TRUE;
}
switch (c->state) { switch (c->state) {
case LinphoneCallOutgoingInit: case LinphoneCallOutgoingInit:
case LinphoneCallOutgoingProgress: case LinphoneCallOutgoingProgress:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment