Bug #354

webcam on pibox2 fails

Added by Hammel over 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:03 Jul 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:04 - Root File System
Target version:0.9.0
Severity:02 - High

Description

pibox2 is 192.168.101.9 but the link to the webcam stream is trying to connect to 192.168.101.8.

Associated revisions

Revision 538b4cb9
Added by Hammel about 3 years ago

RM #354: Add missing [IPADDR] tag to webcam.tmpl.

History

#1 Updated by Hammel about 3 years ago

  • Severity changed from 01 - Critical to 02 - High

#2 Updated by Hammel about 3 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.

Also available in: Atom PDF