mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2026-04-22 23:57:20 +08:00
3
Tunnel RTSP camera to Intenet
Alex X edited this page 2022-09-11 06:47:50 +03:00
As example, you have camera:
rtsp://admin:password@192.168.1.123:554/cam/realmonitor?channel=1&subtype=0
Run Ngrok on any computer in you LAN (use your token):
ngrok tcp 192.168.1.123:554 --authtoken eW91IHNoYWxsIG5vdCBwYXNzCnlvdSBzaGFsbCBub3QgcGFzcw
You will get similar output:
tcp://0.tcp.eu.ngrok.io:11465 -> 192.168.1.123:554
Now you have working stream:
rtsp://admin:password@0.tcp.eu.ngrok.io:11465/cam/realmonitor?channel=1&subtype=0