Online audio stream using ruby on rails
- by Avdept
I'm trying to write small website that can stream audio online(radio station) and got few questions:
1. Do i have to index all my music files into database, or i can randomily pick file from file system and play it.
2. When should i use ajax to load new song(right after last finished, or few seconds before to get responce from server with link to file?)
3. Is it worth to use ajax, or better make list, that will play its full time and then start over?