mjpeg on remote/local iPad - how to ...?
karageur
Posts: 97
Hi guys!
I'm trying to get how to design the surveillance viewing seamless for user on iPad (iridium / tpc) being locally or being off-site - remotely.
I mean the way of how to make the master understand where the TP is now - locally or remotely?
Then change dynamic image's host to corresponding source - lan or wan using ^RAF command.
Maybe some of you developed a stable solution for this - how to get where the user is now?
Many thanks
I'm trying to get how to design the surveillance viewing seamless for user on iPad (iridium / tpc) being locally or being off-site - remotely.
I mean the way of how to make the master understand where the TP is now - locally or remotely?
Then change dynamic image's host to corresponding source - lan or wan using ^RAF command.
Maybe some of you developed a stable solution for this - how to get where the user is now?
Many thanks
0
Comments
By the same token, I have my host address as my outside WAN alias all the time, and it seamlessly works in and out of my network.
You are right but your "key words" are "if you were outside your network at all times".
Say wan address of user's system is 211.11.11.12 (direct IP or "white" ip).
I make port forwarding from 211.11.11.12:8022 to local address 192.168.1.12:80 of mjpeg source AXIS.
In TPdesign I write host's IP as 211.11.11.12:8022 and it works fine FROM outside.
But if user's iPad is in 192.168.1.* subnet how it can connect to it's outside WAN ip - 211.11.11.12:8022 while every LAN device (user's TP iPad also) that connects to WAN subnet receives the same address - 211.11.11.12 ?
Is this somekind of loopback should be active or what?
From 3G - to WAN address - 211.11.11.12:8022 - no problem too -> the router passes the ports and everything works fine.
But being on LAN & trying to connect 211.11.11.12:8022 did't work though I have a rule in NAT preferences.
The problem is that I don't know how to make master understand whether the user is on LAN or WAN?
If the master knows where the user is it can send to TP the corresponding host's IP & port of mjpeg source.
Anyone?