Skip to content
URL:
https://<root>/system/livestream/serverPorts
Methods:
GET
Operations:
Update
Version Introduced:
12.0

Description

The serverPorts resource shows ports chosen for Real-Time Messaging Protocol (RTMP) and Real-Time Streaming Protocol (RTSP) livestreams.

Request parameters

ParameterDetails

f

(Required)

The response format. The default response format is html.

Values: html | json | pjson

token

(Required)

Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation.

Example usage

The following is a sample request URL used to access the serverPorts resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/admin/system/livestream/serverPorts?f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
{
    "rangeMax": <port>,
    "rtspPort": <port>,
    "rangeMin": <port>,
    "rtmpPort": <port>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
{
    "rangeMax": 65535,
    "rtspPort": 554,
    "rangeMin": 49152,
    "rtmpPort": 1935
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.