Deactivate video when the remote accepts the call but without video.

This commit is contained in:
Ghislain MARY 2012-10-08 12:39:15 +02:00
parent 23b788205b
commit eaf16b1784

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