Commit eaf16b17 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

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

parent 23b78820
...@@ -266,6 +266,7 @@ static void call_accepted(SalOp *op){ ...@@ -266,6 +266,7 @@ static void call_accepted(SalOp *op){
} }
md=sal_call_get_final_media_description(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 || if (call->state==LinphoneCallOutgoingProgress ||
call->state==LinphoneCallOutgoingRinging || call->state==LinphoneCallOutgoingRinging ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment