Note: The bracketed items are variables which you need to input according to your setup. Explanations of each variable are given below.

[username] - username to login to the DVR[password] - password[IPaddress] - IP address of the device. If you are not on the same local network, this should be the external IP address of the device's network.[port] - port number[channel] - channel number of the stream (number must be 2 characters long)[stream] - main or sub stream (use "main" for main stream and "sub" for sub stream)