I use the cloudinary api to upload audio recordings from our app to cloudinary, these can arrive at the server in various formats (mp4, webm, ogg) but I want them all to be converted to mp3. I use upload_stream to upload the stream to cloudinary but I'm struggling to find documentation on how to convert the stream whilst uploading. I've tried changing the url that is used on the audio element on playback (adding f_mp3 as a transformation) but this results in the audio being cut to 1s. I'm struggling to come up with a working solution so any help would be appreciated.
Please sign in to leave a comment.