camera-streamer icon indicating copy to clipboard operation
camera-streamer copied to clipboard

Stream video outside my network.

Open TheDeadSlayer opened this issue 1 year ago • 3 comments

Hello,

I wanted to know if it's possible to use this streamer to stream webrtc video over the internet and access it on a mobile application (made in react native) outside my network.

TheDeadSlayer avatar May 06 '23 21:05 TheDeadSlayer

Sure, you'll just have to expose the stream outside of your network using something like Port Forwarding on your router. Note that this isn't entirely secure and if there were somehow a vulnerability discovered in this app, it could lead to issues on your pi or more.

mattzuba avatar May 27 '23 22:05 mattzuba

Worth mentioning the the usual way to do this is to have your device stream to a video streaming server that is able to service many clients, is secure, etc. - then you don't need to open up your firewall and deal with people trying to hack the system. But this will introduce latency, which is sometimes not desirable.

CelloVerb avatar Jul 05 '23 20:07 CelloVerb

Hi there, I have the same question.

I tried to transmit the HTTP connection to the public network via ngrok. In principle, this works, but it quickly consumes a lot of traffic and introduces significant delays.

Is there perhaps a way to transmit the stream via Websockets (or a similar technology)? Then I could run a small repeater server.

My self-built camera stream had a pretty good speed with this method, but the Pi (due to overhead from the browser) cannot handle a smooth stream.

My goal is to generate a video stream with low latency over the LTE network and then control the car/boat with the Steam Deck.

dominikuskoch avatar Feb 22 '24 15:02 dominikuskoch