mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix bug 0000201: linphone crashes upon asking for video when low bandwidth detected.
This commit is contained in:
parent
d0ccd0894c
commit
eb5ca31cfd
1 changed files with 1 additions and 1 deletions
|
|
@ -2581,7 +2581,7 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho
|
|||
}
|
||||
call->params = *params;
|
||||
update_local_media_description(lc, call);
|
||||
if ((call->ice_session != NULL) && !has_video && params->has_video) {
|
||||
if ((call->ice_session != NULL) && !has_video && call->params.has_video) {
|
||||
/* Defer call update until the ICE candidates gathering process has finished. */
|
||||
ms_message("Defer call update to gather ICE candidates");
|
||||
linphone_call_init_video_stream(call);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue