mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
linphonecore.c: linphone_core_sound_resources_locked should return YES if ICE in progress
This commit is contained in:
parent
f38ccbc88a
commit
07d92908ca
1 changed files with 5 additions and 0 deletions
|
|
@ -7005,6 +7005,11 @@ bool_t linphone_core_sound_resources_locked(LinphoneCore *lc){
|
|||
MSList *elem;
|
||||
for(elem=lc->calls;elem!=NULL;elem=elem->next) {
|
||||
LinphoneCall *c=(LinphoneCall*)elem->data;
|
||||
|
||||
if (linphone_call_media_in_progress(c)) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
switch (c->state) {
|
||||
case LinphoneCallOutgoingInit:
|
||||
case LinphoneCallOutgoingProgress:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue