Reputation: 555
I know this is a long shot but I would like to know if this is possible and (in case of this being possible) someone to point me in the right direction.
I have a linux machine (running a nodejs server) that streams a playlist (local files) using VLC to a network. In that network there are 10 other linux machines playing the stream sent by the server (using VLC too);
I would like to know if it is possible to develop a webapp that can transmit audio from a computer browser to the server so that it can be streamed to the other machines;
I found this and this but I don't understand this quite well. Even If I can stream live audio to the server I don't know if I can "re-stream" to the other machines;
Upvotes: 1
Views: 848
Reputation: 71
It sounds doable. I went over the first link you provided, as that is the one that can work for you. The second link is different from what you want. So as the article mentions you can configure BinaryJS on both the client and server side and set it up to upload a music file back to the server, which you can then forward to the linux machines you have set up.
Here is a link for a tutorial on how to use binaryJs to stream music to client from the server and how to upload music/video back. http://www.olindata.com/blog/2014/01/file-uploading-and-streaming-binaryjs
If you have any further questions about the process let me know :)
Upvotes: 1