Commit ad65819e authored by François Grisez's avatar François Grisez
Browse files

Make the "Call recording" tester to save the recording file in another place for Android

parent dd074648
......@@ -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, "/");
......
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