From b3181855af54fdfe58fbada051dadcdeb9678cdb Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Tue, 9 Sep 2014 23:02:34 +0200 Subject: [PATCH] enable ios test --- mediastreamer2 | 2 +- tester/tester.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mediastreamer2 b/mediastreamer2 index 64ef6099d..b83b82d67 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 64ef6099d47713d83dfb3bccdb505bf2b6060287 +Subproject commit b83b82d67692b5a93de5194c3503dc61828d4051 diff --git a/tester/tester.c b/tester/tester.c index 6ed1d5267..4e8f29fdf 100644 --- a/tester/tester.c +++ b/tester/tester.c @@ -226,6 +226,12 @@ LinphoneCoreManager* linphone_core_manager_new2(const char* rc_file, int check_f else proxy_count=0; +#if TARGET_OS_IPHONE + linphone_core_set_playback_device( mgr->lc, "AU: Audio Unit Tester"); + linphone_core_set_capture_device( mgr->lc, "AU: Audio Unit Tester"); + linphone_core_set_ringer_device( mgr->lc, "AU: Audio Unit Tester"); +#endif + if (proxy_count) wait_for_until(mgr->lc,NULL,&mgr->stat.number_of_LinphoneRegistrationOk,proxy_count,5000*proxy_count); CU_ASSERT_EQUAL(mgr->stat.number_of_LinphoneRegistrationOk,proxy_count);