Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Basic ipcamera config fails: out of range error thrown #197

Open
ghost opened this issue Jun 30, 2019 · 1 comment
Open

Basic ipcamera config fails: out of range error thrown #197

ghost opened this issue Jun 30, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 30, 2019

Failure when trying to configure a simple IP Camera change
So I started to set this up on a virtual machine and did some minor changes in order to test an IP camera.

capture.config

<?xml version="1.0"?>
<captures>
    <IPCamera>
        <url type="text">http://IP:PORT/video.cgi</url>
        <frameWidth type="number">640</frameWidth>
        <frameHeight type="number">480</frameHeight>
        <delay type="number">500</delay>
        <angle type="number">0</angle>
    </IPCamera>
</captures>

I changed the capture file value in config.xml to IPCamera

<capture file="capture.xml">IPCamera</capture>

When executing kerberosio, I get the following failure:

30/06/2019 22:44:30.354 INFO  [trivial] Logging is set to info
30/06/2019 22:44:30.354 INFO  [trivial] Capture: Start capture device: IPCamera
30/06/2019 22:44:30.354 INFO  [trivial] Capture: Trying to open IP camera.
30/06/2019 22:44:30.354 INFO  [trivial] Capture: (Warning) You can change the capture device with the configuration files.
30/06/2019 22:44:30.854 INFO  [trivial] Capture: Succesfully opened IP camera.
30/06/2019 22:44:35.856 INFO  [trivial] Capture: Start streaming thread
30/06/2019 22:44:35.856 INFO  [trivial] Stream: Configured stream on port 8889 with quality: 75
30/06/2019 22:44:35.856 INFO  [trivial] Starting cloud service: S3
terminate called after throwing an instance of 'std::out_of_range'

The host is a x86_64 Ubuntu 16.04.6 LTS

@cedricve
Copy link
Member

cedricve commented Dec 3, 2019

strange, looks like an element is missing from the config files.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant