- URL:
- https://<root>/system/livestream/clientProtocols/update
- Methods:
POST- Version Introduced:
- 12.0
Description
The update operation allows administrators to manually enable or disable HTTPS, Real-Time Messaging Protocol (RTMP, RTMPS), and Real-Time Streaming Protocol (RTSP, RTSPS) livestreams.
Request parameters
| Parameter | Details |
|---|---|
(Required) | Determines whether RTMP streams are enabled. Values: |
(Required) | Determines whether RTMPS streams are enabled. Values: |
(Required) | Determines whether RTSP streams are enabled. Values: |
(Required) | Determines whether RTSPS streams are enabled. Values: |
(Required) | Determines whether HTTPS streams are enabled. Values: |
(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 request URL used to access the update operation:
POST /arcgis/admin/system/livestream/clientProtocols/update HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
rtmpEnabled=true&rtmpsEnabled=true&rtspEnabled=true&rtspsEnabled=true&httpsEnabled=true&f=pjson&token=<token>JSON Response syntax
{
"rtmp": "< true | false >",
"rtmps": "< true | false >",
"rtsps": "< true | false >",
"rtsp": "< true | false >",
"https": "< true | false >"
}JSON Response example
{
"rtmp": true,
"rtmps": true,
"rtsps": true,
"rtsp": true,
"https": true
}