Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
62efa148
Commit
62efa148
authored
Aug 06, 2014
by
François Grisez
Browse files
Rename recording_call() into call_recording()
Save test results into sdcard
parent
3e94f4d6
Changes
4
Hide whitespace changes
Inline
Side-by-side
build/android/liblinphone_tester.mk
View file @
62efa148
...
...
@@ -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)
...
...
mediastreamer2
@
4064390b
Subproject commit
8dae6e326a4bb933d0563af744c24d161b3148ef
Subproject commit
4064390b48c957dcf3077b0e30e0c082395bbf05
oRTP
@
fc8d8457
Subproject commit
dfb505d7198dc8be59919c8c6d68add302a98fd
3
Subproject commit
fc8d8457eb630907eff50333ddf5243b448fe73
3
tester/call_tester.c
View file @
62efa148
...
...
@@ -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/lib
linphone
_
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
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment