Commit 8d605739 authored by Sandrine Avakian's avatar Sandrine Avakian

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
parent 07ecd098
......@@ -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},
......
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