diff --git a/build/android/liblinphone_tester.mk b/build/android/liblinphone_tester.mk index e9a2c871896e7ec223a8d0abd66fd0785a1cd80c..cada1aba4f9bd12625f8dcdb80669719bcf90715 100644 --- a/build/android/liblinphone_tester.mk +++ b/build/android/liblinphone_tester.mk @@ -32,6 +32,10 @@ LOCAL_C_INCLUDES = $(common_C_INCLUDES) LOCAL_CFLAGS = -DIN_LINPHONE LOCAL_LDLIBS := -llog +ifeq ($(BUILD_MATROSKA), 1) +LOCAL_CFLAGS += -DHAVE_MATROSKA +endif + LOCAL_SHARED_LIBRARIES := cunit liblinphone include $(BUILD_SHARED_LIBRARY) diff --git a/mediastreamer2 b/mediastreamer2 index 8dae6e326a4bb933d0563af744c24d161b3148ef..4064390b48c957dcf3077b0e30e0c082395bbf05 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 8dae6e326a4bb933d0563af744c24d161b3148ef +Subproject commit 4064390b48c957dcf3077b0e30e0c082395bbf05 diff --git a/oRTP b/oRTP index dfb505d7198dc8be59919c8c6d68add302a98fd3..fc8d8457eb630907eff50333ddf5243b448fe733 160000 --- a/oRTP +++ b/oRTP @@ -1 +1 @@ -Subproject commit dfb505d7198dc8be59919c8c6d68add302a98fd3 +Subproject commit fc8d8457eb630907eff50333ddf5243b448fe733 diff --git a/tester/call_tester.c b/tester/call_tester.c index 31129e4b9a9988f14cdfb8870361931682b9617e..2b72ce0886ff21fe056847d4a54b876411df9639 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -2663,7 +2663,7 @@ static void savpf_to_savpf_call(void) { profile_call(TRUE, TRUE, TRUE, TRUE, "RTP/SAVPF"); } -static void recording_call() { +static void call_recording() { LinphoneCoreManager *marie = linphone_core_manager_new("marie_rc"); LinphoneCoreManager *pauline = linphone_core_manager_new("pauline_rc"); LinphoneCallParams *marieParams = linphone_core_create_default_call_parameters(marie->lc); @@ -2673,7 +2673,7 @@ static void recording_call() { char *filepath = NULL; #ifdef ANDROID - const char dirname[] = "/data/data/org.linphone.tester/files/.test"; + const char dirname[] = "/sdcard/Movies/liblinphone_tester"; #else const char dirname[] = ".test"; #endif @@ -2722,6 +2722,7 @@ static void recording_call() { CU_ASSERT_TRUE(call_with_params(marie, pauline, marieParams, paulineParams)); CU_ASSERT_PTR_NOT_NULL(callInst = linphone_core_get_current_call(marie->lc)); + ms_message("call_recording(): the call will be recorded into %s", filepath); linphone_call_start_recording(callInst); wait_for_until(marie->lc,pauline->lc,&dummy,1,10000); linphone_call_stop_recording(callInst); @@ -2823,7 +2824,7 @@ test_t call_tests[] = { { "SAVPF to AVPF call", savpf_to_avpf_call }, { "SAVPF to SAVP call", savpf_to_savp_call }, { "SAVPF to SAVPF call", savpf_to_savpf_call }, - { "Call recording", recording_call } + { "Call recording", call_recording } }; test_suite_t call_test_suite = {