Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration: channels index range #9

Open
valepe opened this issue Feb 13, 2020 · 1 comment
Open

Configuration: channels index range #9

valepe opened this issue Feb 13, 2020 · 1 comment

Comments

@valepe
Copy link

valepe commented Feb 13, 2020

In your configuration example you refer to a channel list if the nvr can't retrieve that.

Is this list 0 based even if the first camera is indexed as 1 on nvr?
Example of a camera routed by the nvr:
mjpeg_url: "http://IP_NUMBER/cgi-bin/mjpg/video.cgi?channel=1&subtype=1"

This implementation is working fine but the channel list are starting at 1 not 0.

@psyciknz
Copy link
Owner

Unsure. I’d have to look at the code. Probably 0. The switch to 1 for channel list came in later firmwares. And the vide was written before I had a newer nvr.

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

No branches or pull requests

2 participants