Page 1 of 1

Audio Record

Posted: November 10th, 2020, 11:53 pm
by Arjun Brti
Dear team,

I have added the following logic to record the audio of interview. But when I test the application, I am receiving the following error message attached herewith.

PROC GLOBAL
audio Recording;

PROC _LEVEL
Recording.record();

PROC LAST_FIELD {Last field of the application}
Recording.stop();
string audioFilename = maketext("Record-%V-%V-%V-audio.m4a", DISTRICT, EA, INT);
Recording.save(audioFilename);


Regards
Btri

Re: Audio Record

Posted: November 11th, 2020, 10:22 am
by Gregory Martin
You start the recording in the postproc of ..._LEVEL so that won't get triggered until the end of the case. Try putting it in the preproc instead.