Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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

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

10.0.12.139 – router IP address.

1001 – router port.

192.168.0.109 – Server address in local network.

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://127.0.0.1:80/getliveurl?cameraid=1

Response example:

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

{ 
	"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, then:

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

Response parameters:

Parameter

Description

idCamera ID
  • No labels