Commit 57f09a4c authored by Sandrine Avakian's avatar Sandrine Avakian
Browse files

Linphonecall.c : Modified linphone_call_get_current_params to set avpf_enabled...

Linphonecall.c : Modified linphone_call_get_current_params to set avpf_enabled if all streams have avpf AND all media streams have avpf.
parent d277ef75
......@@ -1769,7 +1769,7 @@ const LinphoneCallParams * linphone_call_get_current_params(LinphoneCall *call){
break;
}
call->current_params->avpf_enabled = linphone_call_all_streams_avpf_enabled(call);
call->current_params->avpf_enabled = linphone_call_all_streams_avpf_enabled(call) && sal_media_description_has_avpf(md);
if (call->current_params->avpf_enabled == TRUE) {
call->current_params->avpf_rr_interval = linphone_call_get_avpf_rr_interval(call);
} else {
......
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