1

I am trying to broadcast video from web cam connect with Raspberry Pi to Android app, for that I used 'motion', by this it can stream video over local network only, using http://RPi_addr:port

but now I want to stream video from RPi to anywhere(remotely) and I have no idea how to do that please give some suggestions. Thanks in advance.

Ghanima
  • 15,958
  • 17
  • 65
  • 125
RaTh0D
  • 121
  • 1
  • 2
  • 5

3 Answers3

0

You will have to port forward your Pi on your router. To do this, follow these steps:

On a laptop or PC running Windows, open Command Prompt and type 'ipconfig'. Look for your Ethernet or WiFi adapter. Note down the Gateway address. Next, go into your browser and enter that address. If prompted for a user name/password, look on the bottom/side/back of router for this. Once logged in, look for "Applications & Gaming" or similar. Find the "Port Forwarding" tab. You may need to look up specific instructions for your router. Then, add the IP address of the Pi in the "Local IP" box. For internal ports, put what you use to connect to the motion stream. For external, you can pick whatever. If there is an option for TCP/UDP, select TCP. Enable it if there is an option for "Enable". Save changes.

Now, you need your WAN IP. Simply go to "whatismyip.org" and note down that address.

Finally, type the WAN IP and your Port (separated by a : colon) and hit enter. The stream should show up, but if your upload speed is slow the stream may lag. Also check with your Internet Service Provider (ISP) to see if hosting a stream is within your Terms Of Service.

Hope this helps :)

tycrek
  • 228
  • 1
  • 9
0

There is nothing better than UV4L with its support for WebRTC for streaming over internet.

prinxis
  • 276
  • 3
  • 4
-1

Check out Motioneye for Raspberry pi - https://github.com/ccrisan/motioneyeos &

He has both web-fronted app & complete OS for Raspberry pi !!

And I would recommend you to try weaved service for streaming the feed through internet it is free for a limited usage & NO port forwarding just install the service and start using the service!! It is a pretty good.You can install weaved and just select the port that motioneye is running . And finally you can use your android browser to view the feed the web interface is well customized for mobile devices !