I would like to implement a simple audio recording and replay functionality: press record button, press stop button, press play button, play the just recorded data - that's all. The context is a little AI application for speech analysis.
The app needs to run in web browsers as well as on Android and iOS (ideally as PWA). Is there any simple way to achieve this? I would also like to get the audio data as binary in order to further work with it (i.e. store it in a file and/or send it to a REST API for analysis). Ideally, the audio format should be wav - however, any other standard format would be good for a start, too.
I played around a little with PWA_CameraMicrophone plugin (worked fine in Chrome, however, could not get the result playing in iOS (type error)) and RecordRTC (did not reliably replay the correct recordings).
Isn't there any simple training, blog or example how to achieve this in Outsystems?
Sven, did you allready took a look at this:
Hi Erwin, thanks for your hints.
Indeed I checked forums and the Forge and did again after your response.
However, with most plugins it's very difficult to find out which file formats are supported in the first place. Nevertheless with some research it's possible to find out and so far I did not find any plugin allowing to record WAV format. The PWA_CameraMicrophone component does allow to pass a MIME format but did not work with any but the default (I tried audio/mpeg and audio/vnd.wav). So how do I get any WAV files recorded?
Ideally I would like a PWA enabled component or a Cordova plugin that natively supports iOS and Android respectively.
Anyone who has experience and can give me concrete recommendations?
Sven