- Home /
Best practice: URL address for storing streamed music files
I plan to use the WWW class to stream music files for my web browser game. I am not entirely sure where i should be storing and retrieving the .ogg files from though. If i host them on my own site and link to that, i run the risk of a problem occurring with my site, which will break the game in every other site that runs it. I thought i might need to find a way to keep a copy of the music files with each copy of the embedded game. What is the best practice for storing and then streaming files into a web browser game? Thanks in advance.
Thanks for the reply. Happy to get conformation. Now i am going to start looking for a good server!
I can mark your comment as correct answer if you change it to an answer. This gave me the confirmation i needed.
Answer by $$anonymous$$ · Jan 07, 2013 at 10:58 AM
If you host it on your own site, you can also have scalability issues, since you don't know in advance how successful your game will be :) If you are serious about streaming the music and have good reason to not store it in the build (which is understandable if your music is big compared to the game), I'd say storing in some cloud storage is considerable, like Windows Azure, because you can scale it anytime (for money) to your needs. Then you don't need copies of your music, since the storage is scaled automatically in the background, and you can also scale it for different geographical regions.
Your answer
Follow this Question
Related Questions
Why does loading music files at runtime in android using www class takes a lot of time? 0 Answers
How to have www streaming to work with a radio station? 1 Answer
WWW class streaming high RAM usage 0 Answers
How to avoid lag when using WWW class to download sound 3 Answers
Endless Audio streaming (Radio)?! 3 Answers