forked from mirrors/linphone-iphone
fix bug regarding automatically_accept video policy
This commit is contained in:
parent
43d5378f52
commit
a14fc017cd
1 changed files with 1 additions and 1 deletions
|
|
@ -614,7 +614,7 @@ LinphoneCall * linphone_call_new_incoming(LinphoneCore *lc, LinphoneAddress *fro
|
|||
call->current_params.privacy=(LinphonePrivacyMask)sal_op_get_privacy(call->op);
|
||||
/*set video support */
|
||||
md=sal_call_get_remote_media_description(op);
|
||||
call->params.has_video &= !!lc->video_policy.automatically_accept;
|
||||
call->params.has_video = !!lc->video_policy.automatically_accept;
|
||||
if (md) {
|
||||
// It is licit to receive an INVITE without SDP
|
||||
// In this case WE chose the media parameters according to policy.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue