mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 17:59:21 +00:00
update cam on update call
This commit is contained in:
parent
55271ff6d7
commit
36a9938903
1 changed files with 2 additions and 0 deletions
|
|
@ -2230,6 +2230,8 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho
|
|||
#ifdef VIDEO_ENABLED
|
||||
if (call->videostream!=NULL){
|
||||
video_stream_set_sent_video_size(call->videostream,linphone_core_get_preferred_video_size(lc));
|
||||
if (call->camera_active)
|
||||
call->videostream->cam=lc->video_conf.device; /*to take into account eventual cam changes*/
|
||||
video_stream_update_video_params (call->videostream);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue