mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
repair liblinphone again
This commit is contained in:
parent
70e66a5b43
commit
b97cb51e58
3 changed files with 3 additions and 3 deletions
|
|
@ -105,7 +105,7 @@ void linphone_call_params_enable_low_bandwidth(LinphoneCallParams *cp, bool_t en
|
|||
|
||||
void linphone_call_params_enable_video(LinphoneCallParams *cp, bool_t enabled){
|
||||
cp->has_video=enabled;
|
||||
if (cp->video_dir==LinphoneMediaDirectionInactive)
|
||||
if (enabled && cp->video_dir==LinphoneMediaDirectionInactive)
|
||||
cp->video_dir=LinphoneMediaDirectionSendRecv;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3587,7 +3587,7 @@ int _linphone_core_accept_call_update(LinphoneCore *lc, LinphoneCall *call, cons
|
|||
return 0;
|
||||
}
|
||||
if (params==NULL){
|
||||
call->params->has_video=lc->video_policy.automatically_accept || call->current_params->has_video;
|
||||
linphone_call_params_enable_video(call->params, lc->video_policy.automatically_accept || call->current_params->has_video);
|
||||
}else
|
||||
linphone_call_set_new_params(call,params);
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit a92d909993d0f4fc3e8656e4f5ff4f51a4cfe8ca
|
||||
Subproject commit ac4fc4a447e73e50a044c2c9113ea00f72dd441a
|
||||
Loading…
Add table
Reference in a new issue