I have been researching this a lot but am frustrated as I feel like the solution should be simple though I know wont be. Ideally i’d just want to use node to host the server, webrtc getusermedia to get the live stream on the local client and use something like socket.io to send the stream to the server and then the server would broadcast the stream to the remote client; as if it was a simple messaging chat app.
We’re working on an app that enables live monitoring of your back yard.
Each client has a camera connected to the internet, streaming to our public node.js server.
Given below is the code written for getting live stream from an IP Camera.