Audio Record

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
Arjun Brti
Posts: 49
Joined: October 15th, 2020, 3:40 am

Audio Record

Post 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
Attachments
Capture.PNG
Capture.PNG (40.54 KiB) Viewed 1499 times
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Audio Record

Post 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.
Post Reply