opendatacam / opendatacam-mobile

OpenDataCam mobile app for android
https://play.google.com/store/apps/details?id=com.opendatacam
MIT License
12 stars 3 forks source link

Accessing ODC mobile from Wifi on other devices? #19

Open b-g opened 3 years ago

b-g commented 3 years ago

e.g. phone is on 192.168.0.157 ... now I would have expected that I can open https://192.168.0.157:8080/ in a browser on a different device and enjoy ODC there too. I guess due to the tight integration with Android e.g. cam preview this is not possible, or?

tdurand commented 3 years ago

Yes this is actually one of the feature we should get from running node on android..

I tried it once and it worked (without the camera preview as we are not yet feeding the stream into node to serve it as MJPEG) .. but now I can't make it work.

I think there is some problems with firewall / block ... need to investigate

tdurand commented 3 years ago

Definitely a problem from the android settings.. but can't find how to make it work.. I think it worked for me because when I setup the chrome remote debugging it might open the 8080 port somehow..

I tried to install this app: https://play.google.com/store/apps/details?id=jp.ubi.common.http.server&hl=en_US&gl=US , which create a local webserver on your android device.. it works fine when accessing from the android device chrome browser but do not work from another device in the local network

Same problem when trying from a Galaxy Tab A table also..

Anyways.. not prioritary for now.. but a bit frustrating not to find how to make it work 😉

b-g commented 3 years ago

OK. No big deal ... just wondering whether this is just me :)