Issue
I am building a backend service that creates mp3s for an Android client to stream via ExoPlayer.
Looking at Firebase's Storage Pricing in the long term, if there are 10 gbs stored and 10,000 users there would be 100,000 gb to transfer which is very expensive ($11,600).
What would be the best solution to stream mp3s on the cloud in order to avoid data transfer fees?
Possible Solutions
- Use ExoPlayer to stream mp3s directly from the cloud without downloading.
- Use a separate API to download the 10gb from Cloud Storage one time, and stream the mp3s to the mobile client from the separate API.