- URL:
- https://<root>/services/serviceName/VideoServer/layerId/process
- Methods:
POST- Version Introduced:
- 12.0
Description
The process operation converts an ended livestream into a replayable on-demand layer containing the contents of the full livestream.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The desired output resolution for the on-demand video after conversion completes. It cannot be higher than the original livestream's resolution, the Values: |
(Required) | This parameter is used to determine the service into which the conversion process will output the resulting on-demand layer. This cannot be a livestream layer and must be an on-demand or empty service. If this was the only livestream layer in the current service, it can be chosen as the |
(Optional) | Changes the default elevation by providing the portal item ID of a different elevation service. |
(Required) | The response format. 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/0/process HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
resolutions=native&service=sampleService&elevationSourceItemId=<itemID>&f=pjson&token=<token>JSON Response syntax
{
"jobId": "<job-id>",
"success": <true | false>
}JSON Response example
{
"jobId": "j4f1399de-119d-4eba-9e8b-bb1c4c74d176",
"success": true
}