NVR
Description
Move the decoder to an encoder via stream engine.
Here is the format of the input argument of this URL.
NVR=STR_ENG_IP,STR_ENG_USER_NAME,STR_ENG_USER_PWD,STR_ENG_PORT_STREAM,STR_ENG_PORT_CONTROL,ENCODER_IP, ENCODER_USER_NAME,ENCODER_USER_PWD,ENCODER_MUL_IP,ENCODER_PORT_STREAM,ENCODER_PORT_CONTROL,ENCODER_PORT_RTSP, ENCODER_PORT_MULTICAST,ENCODER_PORT_HTTP,ENCODER_CHANNEL_NUM,CONTACT_TYPE,CONNECT_TIMEOUT
Input Argument Description STR_ENG_IP The IP address of the Stream Engine
STR_ENG_USER_NAME The Account Name which is base64 encoded to logon the Stream Engine. STR_ENG_USER_PWD The Account Password which is base64 encoded to logon the Stream Engine STR_ENG_PORT_STREAM The stream port of Stream Engine
STR_ENG_PORT_CONTROL The control port of Stream Engine ENCODER_IP The IP address of the Encoder ENCODER_USER_NAME The Account Name which is base64 encoded to logon the Encoder ENCODER_USER_PWD The Account Password which is base64 encoded to logon the Encoder ENCODER_MUL_IP The IP address of the Encoder ENCODER_PORT_STREAM The stream port of Encoder
ENCODER_PORT_CONTROL The control port of Encoder ENCODER_PORT_RTSP The rtsp port of Encoder ENCODER_PORT_MULTICAST The multicast port of Encoder ENCODER_PORT_HTTP The http port of Encoder ENCODER_CHANNEL_NUM The channel tag of multi channel encoder CONTACT_TYPE This means connect type. It is defined by SDPD
Contact type value Description CONTACT_TYPE_UNICAST_WOC_PREVIEW 1 Unicast without control CONTACT_TYPE_MULTICAST_WOC_PREVIEW 2 Multicast without control CONTACT_TYPE_RTSP_PREVIEW 3 Rtsp with control CONTACT_TYPE_CONTROL_ONLY 4 control only CONTACT_TYPE_UNICAST_PREVIEW 5 Unicast with control CONTACT_TYPE_MULTICAST_PREVIEW 6 Multicast with control CONTACT_TYPE_PLAYBACK 7 Playback file CONNECT_TIMEOUT connect timeout
Input Argument
See Above
Attribute
Return of Message
OK
ERROR: invalid parameters
or
Applicability
Status
Valid
Example
http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&NVR='172.16.3.62,xxxxxx,xxxxxx,6002,6001,172.16.3.39,xxxxxx,xxxxxx,228.5.6.1,6002,6001,7070,5000,80,1,1,10'
Back to