I'm trying to deploy a Shiny app to tthe shinyapps server that records audio from the user's mobile device after clicking a button, saves the audio as a .wav file and emails it to me via the gmailr library and my gmail account. The app works fine when run on my laptop, but when deployed to shinyapps.io the logs show the following error:
Warning: Error in record: no audio drivers are available
I'm using the audio library to record the sound, and I've seen previous posts about how to get around this using the browser to play audio files, but I haven't found a solution to record audio.
Would it be possible to have audio drivers installed on the shinyapps server? Otherwise, can someone suggest how I might go about recording audio using the browser?