CameraEvents icon indicating copy to clipboard operation
CameraEvents copied to clipboard

Configuration: channels index range

Open valepe opened this issue 6 years ago • 1 comments

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.

valepe avatar Feb 13 '20 08:02 valepe

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.

psyciknz avatar Feb 13 '20 08:02 psyciknz