List Video Streams
List streaming connection information for robot cameras with pagination.
Endpoint Information
Section titled “Endpoint Information”- Name: List video streams
- Description: Returns a paginated list of video streams.
- Method:
POST - Path:
remoteApi/streamPage - Login required: No
- Permission required: Yes
Request Parameters
Section titled “Request Parameters”-
name·String· OptionalCamera name
Example:123 -
bindDeviceCode·String· OptionalCode of the device to which the camera belongs
-
videoMode·String· OptionalVideo type:
1visible-light,2infrared,3front camera,4back camera,5left camera,6right camera -
pageNo·Integer· OptionalPage number; defaults to 1
-
pageSize·Integer· OptionalPage size; defaults to 10
Request Example
Section titled “Request Example”{ "name": "HD", "bindDeviceCode": "DOG2011258510273380352", "videoMode": "1", "pageNo": 1, "pageSize": 15}Response
Section titled “Response”| Field / Type | Description and Example |
|---|---|
nameString | Camera name Example: HD PTZ |
codeString | Camera code Example: 1 |
bindDeviceCodeString | Code of the associated device Example: 1 |
manufacturerString | Camera manufacturer Example: HK |
deviceModeString | Device model Example: DS-2CD3T45 |
useModeString | Usage type; see useMode. Example: 12 |
videoModeString | Video type; see videoMode. |
ipString | Camera IP address Example: 192.168.1.64 |
portString | Camera SDK port Example: 80 |
passwordString | Login password |
channelString | Channel Example: 1 |
bitstreamString | Bitstream |
streamUrlString | Stream URL; see the field examples below. |
Field Examples
Section titled “Field Examples”streamUrl
rtsp://admin:pwd@192.168.1.64:554/Streaming/Channels/101useMode
Section titled “useMode”Usage type in the response.
| Value | Meaning |
|---|---|
10 | bullet camera |
11 | dome camera |
12 | PTZ camera |
13 | miniature camera |
videoMode
Section titled “videoMode”Video type in the response.
| Value | Meaning |
|---|---|
1 | visible-light |
2 | infrared |
3 | visible-light and infrared |
Response Example
Section titled “Response Example”{ "success": true, "code": 200, "msg": "Operation succeeded", "data": { "total": 1, "records": [ { "name": "HD", "code": "CAM2011258701634306048", "bindDeviceCode": "DOG2011258510273380352", "manufacturer": "HK", "deviceMode": null, "useMode": "12", "videoMode": "1", "ip": "192.168.1.154", "port": "80", "channel": "1", "bitstream": null, "streamUrl": "rtsp://192.168.1.154:554/Streaming/Channels/101" } ] }}Error Codes
Section titled “Error Codes”| Code | Description |
|---|---|
| 400 | Invalid parameters |
| 401 | Unauthorized |
| 403 | Access denied |
| 404 | Resource not found |
| 500 | Internal server error |