mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix zrtp bug
This commit is contained in:
parent
e32dd9cf05
commit
05a9cf1279
2 changed files with 3 additions and 1 deletions
|
|
@ -4749,7 +4749,7 @@ void linphone_call_handle_stream_events(LinphoneCall *call, int stream_index){
|
|||
}
|
||||
} else if (evt == ORTP_EVENT_ZRTP_SAS_READY) {
|
||||
if (stream_index == call->main_audio_stream_index)
|
||||
linphone_call_audiostream_auth_token_ready(call, evd->info.zrtp_sas.sas, evd->info.zrtp_sas.verified);
|
||||
linphone_call_audiostream_auth_token_ready(call, evd->info.zrtp_info.sas, evd->info.zrtp_info.verified);
|
||||
} else if (evt == ORTP_EVENT_DTLS_ENCRYPTION_CHANGED) {
|
||||
if (stream_index == call->main_audio_stream_index)
|
||||
linphone_call_audiostream_encryption_changed(call, evd->info.dtls_stream_encrypted);
|
||||
|
|
|
|||
|
|
@ -2722,6 +2722,8 @@ static void _call_base_with_configfile(LinphoneMediaEncryption mode, bool_t enab
|
|||
BC_ASSERT_PTR_NOT_NULL(marie_token);
|
||||
if (marie_token && pauline_token){
|
||||
BC_ASSERT_STRING_EQUAL(pauline_token, marie_token);
|
||||
BC_ASSERT_TRUE(strlen(pauline_token)>0);
|
||||
BC_ASSERT_TRUE(strlen(marie_token)>0);
|
||||
}
|
||||
if (!plays_nothing) liblinphone_tester_check_rtcp(pauline,marie);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue