mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-21 04:38:29 +00:00
fix android liblinphone test compilation
This commit is contained in:
parent
289b814b78
commit
8a230b2e86
1 changed files with 2 additions and 2 deletions
|
|
@ -174,7 +174,7 @@ bool_t call_with_params(LinphoneCoreManager* caller_mgr
|
||||||
|
|
||||||
|
|
||||||
CU_ASSERT_PTR_NOT_NULL(linphone_core_get_current_call_remote_address(callee_mgr->lc));
|
CU_ASSERT_PTR_NOT_NULL(linphone_core_get_current_call_remote_address(callee_mgr->lc));
|
||||||
if (!linphone_core_get_current_call_remote_address(callee_mgr->lc))
|
if(!linphone_core_get_current_call(caller_mgr->lc) || !linphone_core_get_current_call(callee_mgr->lc) || !linphone_core_get_current_call_remote_address(callee_mgr->lc))
|
||||||
return 0;
|
return 0;
|
||||||
else {
|
else {
|
||||||
LinphoneAddress* callee_from=linphone_address_clone(caller_mgr->identity);
|
LinphoneAddress* callee_from=linphone_address_clone(caller_mgr->identity);
|
||||||
|
|
@ -690,7 +690,7 @@ static bool_t add_video(LinphoneCoreManager* caller,LinphoneCoreManager* callee)
|
||||||
/*send vfu*/
|
/*send vfu*/
|
||||||
linphone_call_send_vfu_request(call_obj);
|
linphone_call_send_vfu_request(call_obj);
|
||||||
return wait_for(caller->lc,callee->lc,&callee->stat.number_of_IframeDecoded,initial_callee_stat.number_of_IframeDecoded+1);
|
return wait_for(caller->lc,callee->lc,&callee->stat.number_of_IframeDecoded,initial_callee_stat.number_of_IframeDecoded+1);
|
||||||
} else return -1;
|
} else return 0;
|
||||||
}
|
}
|
||||||
static void call_with_video_added(void) {
|
static void call_with_video_added(void) {
|
||||||
LinphoneCoreManager* marie = linphone_core_manager_new( "marie_rc");
|
LinphoneCoreManager* marie = linphone_core_manager_new( "marie_rc");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue