I live in a room with a mate (long story, tl;dr wierd rules on welfare forced me out because of my mom), so, if we're watching a movie at night we can't have the TV running at a volume that is acceptable for us without waking the rest of the house, so my idea was to stream the audio from Pi through the network that it's connected to and if possible pick up that audio with our phones, laptop etc and play it in our headsets, however this is the point I'm struggling with.
Does anyone have any experience with this that are willing to give me a helping hand, I feel like I've tried absolutely everything and it just doesn't appear to be working.
In short terms what I want is to stream the audio that the Pi is "hearing" or if possible just the audio from omxplayer through ethernet.
I've currently set up Node.JS on the Pi and written a fancy websocket server that listens for clients (I gotta finish a fancy UI for it), and those clients can then send commands to the Pi like a remote control, the way I've set it up is by using a SSH extension for node, so basically the node server first creates a connection to local host with SSH, and then sends the appropriate commands for the actions it receives through the websocket (It isn't directly sent for pretty obvious reasons), it works really well and it's for all intents and purposes instant.
I have a external hard drive connected to the Pi that I use to store movies on, and I've set it up so that the folder can be accessed from any computer, so you can just drag and drop the movies onto the Pi and then play them.
Everything works really well except the streaming audio "problem", but any suggestions on making any part of it better would be appreciated, I might follow up with some photos if anyone's interested
This post has been edited by Robbss: 14 June 2014 - 08:09 PM