- URL:
- https://<root>/services/serviceName/VideoServer/layerId/start
- Methods:
POST- Version Introduced:
- 12.0
Description
The start operation enables a livestream listener on a specific video layer, effectively beginning the livestream on ArcGIS Video Server. This operation is only available if the livestream listener is not currently running on the chosen layer.
Request parameters
| Parameter | Details |
|---|---|
(Required) | This parameter sets how a livestream should stop. The options are |
(Required) | The response 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 start operation:
POST /arcgis/rest/services/sampleService/VideoServer/layerId/start HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
stopOn=request&f=pjson&token=<token>JSON Response syntax
{
"success": <true | false>
}JSON Response example
{
"success": true
}