webcam on pibox2 fails
pibox2 is 192.168.101.9 but the link to the webcam stream is trying to connect to 192.168.101.8.
Updated by Hammel almost 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
In piboxwww repo, under src/piboxwww/php in webcam.tmpl the .8 address is hard coded. Since this is a template a tag needs to be inserted that is replace by the requesting hosts IP. This is already being done by webcam.php, but the tmpl is missing the [IPADDR] tag that the php script tries to replace.
Sounds like an easy fix. Added the code, rebuilt the package and tried it on the hardware. Works fine. Was able to watch webcam video on two different devices at the same time while watching a movie on the HDMI monitor. Performance is very good.
Updates committed and pushed upstream. Closing issue.