From eaf16b1784450d7e1c12624ef23348c2bf799c6b Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 8 Oct 2012 12:39:15 +0200 Subject: [PATCH] Deactivate video when the remote accepts the call but without video. --- coreapi/callbacks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/callbacks.c b/coreapi/callbacks.c index 52c6d4070..7c7d4f003 100644 --- a/coreapi/callbacks.c +++ b/coreapi/callbacks.c @@ -266,6 +266,7 @@ static void call_accepted(SalOp *op){ } md=sal_call_get_final_media_description(op); + call->params.has_video &= linphone_core_media_description_contains_video_stream(md); if (call->state==LinphoneCallOutgoingProgress || call->state==LinphoneCallOutgoingRinging ||