Closed briangershon closed 3 years ago
Ok, I left this one for audio uploading (as you had originally intended) and created a new card for the translate one: https://github.com/BryceHaley/team7-blackfoot-chat-app/issues/6
I just pushed up the "upload audio recording" code on the front-end. It posts to /audio_data
. The API will need to support the multipart/form-data mime type. More details in card description above.
I pushed the functionality to save the audio recordings locally into a folder: /backend/audio_data/<english_term>
.
The filename of the recording is the current timestamp in.wav
format: /backend/audio_data/<english_term>/09.25.2021_02-00-45.wav
Will start to implement Cloudinary as host of audio recordings.
Implemented service to upload audio files to Cloudinary. This issue can be closed.
@kyirong6 The browser will post this as form data (
multipart/form-data
) (section will be calledrecording
and filename will berecording.wav
and isaudio/wav
mimetype). There's a 2nd multipart section calledenglish_term
that has the word.