Skip to main content
Skip table of contents

RTSP Commands

Last updated: 2026/1/7 23:5:53

Path To

Name

Description/Function

/api/rtsp

/address

Get the camera's RTSP address.

/api/rtsp

/get

Get the current configuration.

/api/rtsp

/update

Update any of the streaming settings.

/address

Description

Get the camera's RTSP address.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/rtsp/address

Response

The camera's RTSP address.

Response Type

Text

Response Example

CODE
rtsp://192.168.2.128:5540/ch0

/get

Description

Get the current configuration.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/rtsp/get

Response

All the configuration.

Response Type

JSON object

Response Example

CODE
{
  "Framerate": "30",
  "Bitrate": "10000",
  "Resolution": "1920x1080",
  "VideoCodec": "H265",
  "BitrateMode": "vbr"
}

/update

Description

Update any of the streaming settings.

Method

Post

Example

Example 1

CODE
{
  "Bitrate":"1000",
  "Resolution":"1920x1080"
}

Output

CODE
$ curl -X POST http://<ip>:<port>/api/rtsp/update
   -H 'Content-Type: application/json'
   -d '{ "Bitrate":"2000", "Resolution":"1920x1080" }'

Example 2

CODE
{
  "Bitrate":"2000",
}

Output

CODE
$ curl -X POST http://<ip>:<port>/api/rtsp/update
   -H 'Content-Type: application/json'
   -d '{ "Bitrate":"2000" }'

Body

CODE
{
  "Bitrate":"10000",
  "Resolution":"1920x1080"
}

If you do not include a “value” in one or any of the above variables, the value will not be changed.

Response

None

Explanation

  • Defaults

    • Bitrate = 10000

    • Resolution = 1920x1080

  • Available Frame Rate

    • Any

  • Available Bitrate

    • 1000 to 100,000

  • Available Resolution

    • 640 x 480 (SD)

    • 1280 x 720 (720p)

    • 1920x1080 (1080p)

    • 3840 x 2160 (4K)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.