update cam on update call

This commit is contained in:
Jehan Monnier 2011-07-21 16:39:49 +02:00 committed by Pierre-Eric Pelloux-Prayer
parent 55271ff6d7
commit 36a9938903

View file

@ -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