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 Configuring RTSP Server module and Enabling the processing of ECHD requests and selecting the RTSP server).

Example:

Let us set For example, the following NAT parameters are specified on the the RTSP Server object setting settings panel:

Image RemovedImage Added

10.0.12.139 – router IP address.

...

559 – RTSP Server port.

80 – Web Server port.

General request format:

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

Request parameters:

Parameter

Is required

Description

cameraidYes

Camera ID

Request example:

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

Response example:

If the Use NAT address checkbox on the Web server object setting panel is UNchecked, thenResponse::

Code Block
languagexml
{ 
	"rtspurl": "rtsp://

...

127.

...

0.0.

...

1:559/archive?id=1" 
}

...

If the Use NAT address checkbox on the Web server object setting panel is checked, thenResponse::

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

...


}

Response parameters:

Parameter

Description

idCamera ID