I am using Firebase with an iOS client application and I need to transfer the audio file from Google Cloud Storage. I know that file streaming support exists in the Android SDK with the class: StreamDownloadTaskbut I cannot find the equivalent in the iOS SDK.
- The best scenario would be to achieve this without intermediary server functions, therefore directly between the iOS client and GCS. Is it possible?
- If not, I have a Node.js server that I can use. Should I use the
createReadStreamGCS API function and pass it to the client? Or is there a better way?
Any tips on the best way to create a stream from the GCS audio file to the iOS app will be greatly appreciated!
source
share