dimanche 4 janvier 2015

live stream audio from one to several clients (web sockets or p2p)?

What I need achieve is:



  1. Server starts to play and streams audio file (mp3) to multiple clients

  2. 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