mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
Fix STUN tester when video is not available.
This commit is contained in:
parent
ac54014751
commit
5a41a8525c
1 changed files with 4 additions and 0 deletions
|
|
@ -88,15 +88,19 @@ static void linphone_stun_test_grab_ip()
|
|||
|
||||
CU_ASSERT( dummy_call.ac.addr[0] != '\0');
|
||||
CU_ASSERT( dummy_call.ac.port != 0);
|
||||
#ifdef VIDEO_ENABLED
|
||||
CU_ASSERT( dummy_call.vc.addr[0] != '\0');
|
||||
CU_ASSERT( dummy_call.vc.port != 0);
|
||||
#endif
|
||||
|
||||
ms_message("STUN test result: local audio port maps to %s:%i",
|
||||
dummy_call.ac.addr,
|
||||
dummy_call.ac.port);
|
||||
#ifdef VIDEO_ENABLED
|
||||
ms_message("STUN test result: local video port maps to %s:%i",
|
||||
dummy_call.vc.addr,
|
||||
dummy_call.vc.port);
|
||||
#endif
|
||||
|
||||
linphone_core_manager_destroy(lc_stun);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue