Commit 159af1e9 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix again check_media_direction()

parent 6ceaff09
......@@ -3311,6 +3311,7 @@ void check_media_direction(LinphoneCoreManager* mgr, LinphoneCall *call, MSList*
switch (video_dir) {
case LinphoneMediaDirectionInactive:
BC_ASSERT_LOWER(linphone_call_get_video_stats(call)->upload_bandwidth, 5, int, "%i");
break;
case LinphoneMediaDirectionSendOnly:
expected_recv_iframe = 0;
BC_ASSERT_LOWER(linphone_call_get_video_stats(call)->download_bandwidth, 5, int, "%i");
......@@ -3339,6 +3340,7 @@ void check_media_direction(LinphoneCoreManager* mgr, LinphoneCall *call, MSList*
break;
case LinphoneMediaDirectionRecvOnly:
BC_ASSERT_LOWER(linphone_core_manager_get_mean_audio_up_bw(mgr), 5, int, "%i");
break;
case LinphoneMediaDirectionSendRecv:
BC_ASSERT_GREATER(linphone_core_manager_get_mean_audio_down_bw(mgr), 70, int, "%i");
BC_ASSERT_GREATER(linphone_core_manager_get_mean_audio_up_bw(mgr), 70, int, "%i");
......
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