Stream audio file from Google Cloud Storage to iOS Firebase client application

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!

+4
source share
1 answer

Firebase employee is here

Actually there is no streaming Cloud Storage API for iOS just like for Android. If this is important to you, write a feature request and explain why it is important for your particular case.

+2
source

Source: https://habr.com/ru/post/1693353/


All Articles