Skip to content
URL:
https://<root>/services/serviceName/VideoServer/layerId/stop
Methods:
POST
Version Introduced:
12.0

Description

The stop operation disables a livestream listener on a specific video layer, effectively ending the livestream on ArcGIS Video Server. This operation is only available if the livestream listener is currently running on the chosen layer. When a post request is made to this stop endpoint, and it will automatically end the livestream.

Request parameters

ParameterDetails

f

(Required)

The response format for this operation. The default value 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 POST request for the stop operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /arcgis/rest/services/sampleService/VideoServer/layerId/stop HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson&token=<token>

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
{
    "success": <true | false>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
{
    "success": true
}

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