mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
quality_reporting_tester.c: Fix "Interval report if interval is configured" test by resetting RTCP SR count at each report
This commit is contained in:
parent
8fd0b3cccb
commit
86863cd089
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ void on_report_send_mandatory(const LinphoneCall *call, int stream_type, const L
|
|||
CU_ASSERT_PTR_NOT_NULL(body=__strstr(body, "DialogID:"));
|
||||
|
||||
if (report->remote_metrics.rtcp_sr_count&&ms!=NULL&&ms->rc!=NULL){
|
||||
/* Hack: reset rtcp_sr_count to 0 because in case of interval reports, we need one RTCP SR by interval */
|
||||
report->remote_metrics.rtcp_sr_count=0;
|
||||
CU_ASSERT_PTR_NOT_NULL(body=__strstr(body, "AdaptiveAlg:"));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue