mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
update cam on update call
This commit is contained in:
parent
714c9a5290
commit
b57946b551
1 changed files with 2 additions and 0 deletions
|
|
@ -2185,6 +2185,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