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
ad65819e
Commit
ad65819e
authored
Aug 05, 2014
by
François Grisez
Browse files
Make the "Call recording" tester to save the recording file in another place for Android
parent
dd074648
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
tester/call_tester.c
tester/call_tester.c
+8
-3
No files found.
tester/call_tester.c
View file @
ad65819e
...
...
@@ -2670,15 +2670,20 @@ static void recording_call() {
LinphoneCallParams
*
paulineParams
=
linphone_core_create_default_call_parameters
(
pauline
->
lc
);
LinphoneCall
*
callInst
=
NULL
;
int
dummy
=
0
;
char
*
filepath
=
NULL
;
#ifdef ANDROID
const
char
dirname
[]
=
"/data/data/org.linphone.tester/files/.test"
;
#else
const
char
dirname
[]
=
".test"
;
#endif
#ifdef VIDEO_ENABLED
const
char
filename
[]
=
"recording.mkv"
;
#else
const
char
filename
[]
=
"recording.wav"
;
#endif
const
char
dirname
[]
=
".test"
;
char
*
filepath
=
NULL
;
filepath
=
ms_new0
(
char
,
strlen
(
dirname
)
+
strlen
(
filename
)
+
2
);
strcpy
(
filepath
,
dirname
);
strcat
(
filepath
,
"/"
);
...
...
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