Fix "Call with RTP IO mode" test on Windows 10.

This commit is contained in:
Ghislain MARY 2016-08-08 17:32:22 +02:00
parent 54f848bec8
commit 587b30233c

View file

@ -3691,7 +3691,6 @@ static void call_with_fqdn_in_sdp(void) {
lp = linphone_core_get_config(pauline->lc);
lp_config_set_string(lp,"rtp","bind_address","localhost");
BC_ASSERT_TRUE(call_ok=call(marie,pauline));
if (!call_ok) goto end;
liblinphone_tester_check_rtcp(pauline,marie);
@ -3734,8 +3733,8 @@ static void call_with_rtp_io_mode(void) {
/* The callee uses the RTP IO mode with the PCMU codec to send back audio to the caller. */
disable_all_audio_codecs_except_one(pauline->lc, "pcmu", -1);
lp_config_set_int(pauline->lc->config, "sound", "rtp_io", 1);
lp_config_set_string(pauline->lc->config, "sound", "rtp_local_addr", "localhost");
lp_config_set_string(pauline->lc->config, "sound", "rtp_remote_addr", "localhost");
lp_config_set_string(pauline->lc->config, "sound", "rtp_local_addr", "127.0.0.1");
lp_config_set_string(pauline->lc->config, "sound", "rtp_remote_addr", "127.0.0.1");
lp_config_set_int(pauline->lc->config, "sound", "rtp_local_port", 17076);
lp_config_set_int(pauline->lc->config, "sound", "rtp_remote_port", 17076);
lp_config_set_string(pauline->lc->config, "sound", "rtp_map", "pcmu/8000/1");