I have an app, where users record audio and then "send" to each other. I'm writing "send", because actually the file is stored on server, and just provided to the recipient, when they want to listen.
My issue is, that I need to reformat the recording (currently .caf) to .mp3, so they will be both smaller and so I can play them with the audioplayer I'm using.
My question then is: Is it possible to have a cloud function trigger on user upload, that would take the .caf file, convert it and in its place put a .mp3 file? Can't find anywhere in the docs where it says whether the new file would have same or different url.