mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
Give peer URI to the zrtp context
This commit is contained in:
parent
aabff39f85
commit
3ccc7fb4de
1 changed files with 1 additions and 1 deletions
|
|
@ -2067,7 +2067,7 @@ void linphone_call_start_media_streams(LinphoneCall *call, bool_t all_inputs_mut
|
|||
|
||||
params.zid_file=lc->zrtp_secrets_cache;
|
||||
|
||||
params.uri= linphone_address_as_string_uri_only(call->log->to);
|
||||
params.uri= linphone_address_as_string_uri_only((call->dir==LinphoneCallIncoming) ? call->log->from : call->log->to);
|
||||
audio_stream_enable_zrtp(call->audiostream,¶ms);
|
||||
}else{
|
||||
call->current_params.media_encryption=linphone_call_are_all_streams_encrypted(call) ?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue