From 36a99389030e7f0c0c16b9b59111eb9c2a2d3cbf Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Thu, 21 Jul 2011 16:39:49 +0200 Subject: [PATCH] update cam on update call --- coreapi/linphonecore.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index c1eea7173..417751776 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -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