Project

General

Profile

Actions

Bug #354

closed

webcam on pibox2 fails

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

Status:
Closed
Priority:
Immediate
Assignee:
Category:
04 - Root File System
Target version:
Start date:
03 Jul 2014
Due date:
% Done:

100%

Estimated time:
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.

Actions #1

Updated by Hammel about 10 years ago

  • Severity changed from 01 - Critical to 02 - High
Actions #2

Updated by Hammel about 10 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.

Actions

Also available in: Atom PDF