2. Remote Trigger
Last updated
Last updated
Enable the switch in the "Capture-Trigger" section of the data broadcast panel to activate the remote trigger function. The port is the broadcast port where XINGYING sends control commands, with a default value of 7061. If the port monitored by third-party software or tools is different, please assign the correct port to XINGYING. If you need to change this port, please disable the remote triggering function first, then re-enable it after the modifications are complete.
After enabling remote triggering, a camera needs to be connected. Once the connection is established, recording can be triggered by turning it on or off.
Currently, the trigger control command sent by XINGYING is in XML file format:
Start trigger
Stop trigger
The following example shows the start trigger. Note that the broadcast must be suitable for a UDP packet.
The indentation in the following example is for clarity; the actual packet is not indented. The blank spaces between the tags have been removed.
Field Definitions:
Value | Description |
---|---|
Name | Filename of recorded file |
SessionName | Reserved field |
Notes | Reserved field |
Description | Reserved field |
Delay | Reserved field |
Database Path | File path of recorded file |
PacketID | Reserved field |
The following example shows the stop trigger. Note that the broadcast must be suitable for a UDP packet.
The indentation in the following example is for clarity; the actual packet is not indented. The blank spaces between the tags have been removed.
Field Definitions:
Value | Description |
---|---|
Name | Filename of recorded file |
SessionName | Reserved field |
Notes | Reserved field |
Description | Reserved field |
Delay | Reserved field |
Database Path | File path of recorded file |
PacketID | Reserved field |