]> sjero.net Git - linphone/commitdiff
Deactivate video when the remote accepts the call but without video.
authorGhislain MARY <ghislain.mary@belledonne-communications.com>
Mon, 8 Oct 2012 10:39:15 +0000 (12:39 +0200)
committerGhislain MARY <ghislain.mary@belledonne-communications.com>
Mon, 8 Oct 2012 10:39:15 +0000 (12:39 +0200)
coreapi/callbacks.c

index 52c6d40701cc14cc8e26a7105a783abdc47f79d2..7c7d4f00315ed44b59cc599e6d7f51d6e4d4ec48 100644 (file)
@@ -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 ||