Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 8 Current »

Return camera information.


GET /media/cameraInfo?token=[PublicAccessToken]&name=[CameraName]


Parameters

NameTypeDescription
PublicAccessTokenStringPublic access token
CameraNameStringCamera name


Example Response

{ 
	"Camera Name": {
		"name": "Camera Name",
		"description": "Camera Description",
		"label": "Camera Display Name",
		"mediaserver": "Media Server Name",
		"status": "Status",
		"mediaLink": "Camera Link",
		"properties": {
			"rtsp": "Camera RTSP URL",
			"RtspID": "RTSP Login ID",
			"RtspPassword": "RTSP Login Password",
			"latitude": "Geo Location",
			"longitude": "Geo Location",
			"PlayerTypeName": "video",
			"UsePTZ": "PTZ Support"
		}, 
		"metrics": "Information from VSM"
	}
}

Remarks

The table below shows response of status.

Status

Description

online

Camera is connected to VMS

offline

Camera is disconnected from VMS

error

The VMS has sent signal to camera but no response come from camera

Communication error between CC and VMS

unknown

Anything not defined in the above cases

  • No labels