- URL:
- https://<root>/system/livestream/serverPorts/update
- Methods:
POST- Version Introduced:
- 12.0
Description
The update operation allows administrators to set default ports for Real-Time Messaging Protocol (RTMP, RTMPS) and Real-Time Streaming Protocol (RTSP, RTSPS) livestreams.
Request parameters
| Parameter | Details |
|---|---|
| The default port for RTMP livestreams. Defaults to |
| The default port for RTSP livestreams. Defaults to |
| The minimum SRT/UDP port value. Defaults to |
| The maximum SRT/UDP port value. Defaults to |
(Required) | The response format. The default response format is Values: |
(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 POST request for the update operation:
POST /arcgis/admin/system/livestream/serverPorts/update HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
rangeMax=65535&rangeMin=49152&rtspPort=554&rtmpPort=1945&f=pjsonJSON Response syntax
{
"rangeMax": <port>,
"rtspPort": <port>,
"rangeMin": <port>,
"rtmpPort": <port>
}JSON Response example
{
"rangeMax": 65535,
"rtspPort": 554,
"rangeMin": 49152,
"rtmpPort": 1935
}