Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Go to the RTSP Server and Web server objects setting panels to enable and configure NAT (see see Configuring the RTSP Server module and  and Enabling the processing of SDC (ECHD) requests and selecting the RTSP server).

For example, the following NAT parameters are specified on the the settings panel of the RTSP Server object settings panel:

Image Modified

10.0.12.139 – router 139—router IP address.

1001 – router 1001—router port.

192.168.0.109 – Server 109—server address in local network.

559 – RTSP 559—RTSP Server port.80 – Web Server

80—Web server port.

General request format:

GET http://IP - address:port/getliveurl?cameraid={cameraid}

Request parameters:

Parameter

Is required

Required

Description

cameraidYes

Camera ID

Request example:

GET http://127.0.0.1:80/getliveurl?cameraid=1

Response example:

If the Use NAT address checkbox is clear on the settings panel of the Web server object setting panel is UNchecked, then:

Code Block
languagexml
{ 
	"rtspurl": "rtsp://127.0.0.1:559/archive?id=1" 
}

If the Use NAT address checkbox is set on the settings panel of the Web server object setting panel is checked, then:

Code Block
languagexml
{ 
	"rtspurl": "rtsp://10.0.12.139:1001/archive?id=1"
}

...

Response parameters:

Parameter

Description

idCamera ID