mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 23:58:17 +00:00
Make the "Call recording" tester to save the recording file in another place for Android
This commit is contained in:
parent
dd07464872
commit
ad65819eb1
1 changed files with 8 additions and 3 deletions
|
|
@ -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, "/");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue