- URL:
- https://<root>/services/isLivestreamAddressAvailable
- Methods:
POST- Version Introduced:
- 12.0
Description
The is operation queries existing services to determine if a livestream address or port is available or if it is already in use. This operation uses the URL, IP address, and livestream's port to determine availability.
This operation is available for Secure Reliable Transport (SRT), User Datagram Protocol (UPD), Real-Time Messaging Protocol (RTMP), and Real-Time Streaming Protocol (RTSP) livestreams.
Request parameters
| Parameter | Details |
|---|---|
(Required) | Either the URL and port, or the IP and port, for a UPD, RTMP, RTSP, or SRT livestream. The input should be in the form of a string. Example: |
(Required) | The output format for this operation. The default value 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 is operation:
POST /arcgis/rest/services/sampleService/VideoServer/layerId/update/poster HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
address=rtsp://test.sample.com:554/test&f=pjson&token=<token>JSON Response syntax
{
"available": <true | false>
}JSON Response example
{
"available": true
}