mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
Adding ifdef VIDEO ENABLED for tests :
"Session report sent if video stopped during call", quality_reporting_session_report_if_video_stopped "Interval report if interval is configured with video and realtime text", quality_reporting_interval_report_video_and_rtt
This commit is contained in:
parent
07ecd09829
commit
8d605739a9
1 changed files with 4 additions and 0 deletions
|
|
@ -279,6 +279,7 @@ static void quality_reporting_interval_report(void) {
|
|||
linphone_core_manager_destroy(pauline);
|
||||
}
|
||||
|
||||
#ifdef VIDEO_ENABLED
|
||||
static void quality_reporting_session_report_if_video_stopped(void) {
|
||||
LinphoneCoreManager* marie = linphone_core_manager_new( "marie_rc_rtcp_xr");
|
||||
LinphoneCoreManager* pauline = linphone_core_manager_new( "pauline_tcp_rc");
|
||||
|
|
@ -325,6 +326,7 @@ static void quality_reporting_session_report_if_video_stopped(void) {
|
|||
linphone_core_manager_destroy(marie);
|
||||
linphone_core_manager_destroy(pauline);
|
||||
}
|
||||
#endif
|
||||
|
||||
void publish_report_with_route_state_changed(LinphoneCore *lc, LinphoneEvent *ev, LinphonePublishState state){
|
||||
if (state == LinphonePublishProgress) {
|
||||
|
|
@ -358,6 +360,7 @@ static void quality_reporting_sent_using_custom_route(void) {
|
|||
linphone_core_manager_destroy(pauline);
|
||||
}
|
||||
|
||||
#ifdef VIDEO_ENABLED
|
||||
static void quality_reporting_interval_report_video_and_rtt(void) {
|
||||
LinphoneCoreManager* marie = linphone_core_manager_new( "marie_rc_rtcp_xr");
|
||||
LinphoneCoreManager* pauline = linphone_core_manager_new( "pauline_rc_rtcp_xr");
|
||||
|
|
@ -418,6 +421,7 @@ static void quality_reporting_interval_report_video_and_rtt(void) {
|
|||
linphone_core_manager_destroy(marie);
|
||||
linphone_core_manager_destroy(pauline);
|
||||
}
|
||||
#endif
|
||||
|
||||
test_t quality_reporting_tests[] = {
|
||||
{ "Not used if no config", quality_reporting_not_used_without_config},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue