mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 15:18:11 +00:00
save video cam used in call object when switched
This commit is contained in:
parent
e59db8daec
commit
b852503f55
1 changed files with 1 additions and 1 deletions
|
|
@ -3583,7 +3583,7 @@ int linphone_core_update_call(LinphoneCore *lc, LinphoneCall *call, const Linpho
|
|||
video_stream_set_sent_video_size(call->videostream,linphone_core_get_preferred_video_size(lc));
|
||||
video_stream_set_fps(call->videostream, linphone_core_get_preferred_framerate(lc));
|
||||
if (call->camera_enabled && call->videostream->cam!=lc->video_conf.device){
|
||||
video_stream_change_camera(call->videostream,lc->video_conf.device);
|
||||
video_stream_change_camera(call->videostream,call->cam = lc->video_conf.device);
|
||||
}else video_stream_update_video_params(call->videostream);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue