Patil Vaibhav2147 Vp
01/25/2024, 12:49 PMAndrii Yanechko
01/25/2024, 2:55 PMNSUrl
and then I read NSData
from that file and convert it to ByteArray
- https://gist.github.com/yandroidUA/ed1e67c90182e6ae83a8408de413c55c
P.S. And that's the Player for iOS - https://gist.github.com/yandroidUA/2bf3f51329f0b480fa7555bae2e567ce
I also have audio uploading feature, but I stick to rather save a file URL in the database and then just upload a bytes from the saved URL when it's a time for syncing with remote server. Also, when fetching the audio, I put it into the file and operate URLs rather than bytes in my "logical" layer of application to play/record the audio.Patil Vaibhav2147 Vp
01/25/2024, 3:48 PM