Get or Set DO trigger source in video decoder.
In general, the video decoder's DOs are associated to video encoder's DIs. That means the signal levels of DOs in video decoder are the same as the signal levels of DIs in video encoder.
This URL extends the usage of video decoder's DO functions. It could set the specific event to link to the video decoder DO. When the associated event becomes active, the video decoder will set the corresponding DO port to HIGH level. The DO keeps LOW level if the event is inactive.
The DO1 could be triggered by DI1, Video Loss or Motion and DO2 could be triggered by DI2, Video Loss or Motion .
n
where n is the identifier of event source. Here is the mapping table of event identifier and event.
n Event Description 0 DI The event is DI of video encoder. When this event is set, the video decoder will monitor the DI levels in the video encoder to response its DO.
If there are two DI ports in the video encoder, the DO1 in the video decoder will be associated to DI1 in the video encoder with DO1_TRIGGER_SOURCE.
Same mapping rule in the DO2 in video decoder.1 Video Loss The event is video loss of video encoder. When this event is set, the video decoder will monitor the video state in the video encoder to response its DO. 2 Motion Detection The event is motion detection of video encoder. When this event is set, the video decoder will monitor the motion detection state in the video encoder to response its DO.
If video encoder enables more than one motion detection regions, the corresponding DO will be set to HIGH when any one of motion detection region reports motion.
DOn_TRIGGER_SOURCE='1'
where n could be 1 or 2.
OK: DOn_TRIGGER_SOURCE='1'
or
ERROR: DOn_TRIGGER_SOURCE='1'
where n could be 1 or 2.
Valid
http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&DOn_TRIGGER_SOURCE
or
http://ip:port/cgi-bin/cmd/decoder?DOn_TRIGGER_SOURCE
where n could be 1 or 2.
http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&DOn_TRIGGER_SOURCE=1
or
http://ip:port/cgi-bin/cmd/decoder?DOn_TRIGGER_SOURCE=1
where n could be 1 or 2.