Commit 8b84c365 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix test that broke after fixing a bug in ms2, which resulted in STUN packets...

fix test that broke after fixing a bug in ms2, which resulted in STUN packets not sent for recv-only video streams.
parent 7cbb4428
mediastreamer2 @ 3923d29b
Subproject commit e4b45891827da158677b417e225737bee182f4da
Subproject commit 3923d29b76dc73666c0fdd2bdab7f9bc7ba2894c
......@@ -449,7 +449,7 @@ static void forked_outgoing_early_media_video_call_with_inactive_audio_test(void
BC_ASSERT_EQUAL(linphone_call_get_audio_stats(pauline_call)->download_bandwidth, 0, float, "%f");
BC_ASSERT_EQUAL(linphone_call_get_audio_stats(marie1_call)->download_bandwidth, 0, float, "%f");
BC_ASSERT_EQUAL(linphone_call_get_audio_stats(marie2_call)->download_bandwidth, 0, float, "%f");
BC_ASSERT_EQUAL(linphone_call_get_video_stats(pauline_call)->download_bandwidth, 0, float, "%f");
BC_ASSERT_LOWER(linphone_call_get_video_stats(pauline_call)->download_bandwidth, 3, float, "%f"); /*3 because of stun packets*/
BC_ASSERT_GREATER(linphone_call_get_video_stats(marie1_call)->download_bandwidth, 0, float, "%f");
BC_ASSERT_GREATER(linphone_call_get_video_stats(marie2_call)->download_bandwidth, 0, float, "%f");
......@@ -465,8 +465,8 @@ static void forked_outgoing_early_media_video_call_with_inactive_audio_test(void
wait_for_list(lcs, &dummy, 1, 3000);
BC_ASSERT_GREATER(linphone_call_get_audio_stats(pauline_call)->download_bandwidth, 71, float, "%f");
BC_ASSERT_GREATER(linphone_call_get_audio_stats(marie1_call)->download_bandwidth, 71, float, "%f");
BC_ASSERT_GREATER(linphone_call_get_video_stats(pauline_call)->download_bandwidth, 0, float, "%f");
BC_ASSERT_GREATER(linphone_call_get_video_stats(marie1_call)->download_bandwidth, 0, float, "%f");
BC_ASSERT_LOWER(linphone_call_get_video_stats(pauline_call)->download_bandwidth, 3, float, "%f");
BC_ASSERT_LOWER(linphone_call_get_video_stats(marie1_call)->download_bandwidth, 3, float, "%f");
/* send an INFO in reverse side to check that dialogs are properly established */
info = linphone_core_create_info_message(marie1->lc);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment