What I need achieve is:
- Server starts to play and streams audio file (mp3) to multiple clients
- Clients connect and play stream in the browser not from the beginning but from the current audio position.
So far I got an idea of how it could be implemented via simple API: server saves current track time every 1s, and connected client makes request to the server and gets current track time and starts playing from that position
I don't want to use SHOUTcast or Icecast, is there a way to stream such binary data via sockets or WebRTC in order to play from current audio position?
Aucun commentaire:
Enregistrer un commentaire