mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
Fix video asking issue while in conference if policy auto accept is set to true
This commit is contained in:
parent
f387b5f244
commit
88f278bb4e
1 changed files with 5 additions and 0 deletions
|
|
@ -2380,6 +2380,11 @@ int linphone_core_accept_call_update(LinphoneCore *lc, LinphoneCall *call, const
|
|||
call->params.has_video=lc->video_policy.automatically_accept;
|
||||
}else
|
||||
call->params=*params;
|
||||
|
||||
if (call->current_params->in_conference) {
|
||||
ms_warning("Video isn't supported in conference");
|
||||
call->params.has_video = FALSE;
|
||||
}
|
||||
call->camera_active=call->params.has_video;
|
||||
update_local_media_description(lc,call);
|
||||
sal_call_set_local_media_description(call->op,call->localdesc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue