Skip to content
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

ParameterDetails

requestedResolutions

(Required)

The desired output resolution for the on-demand video after conversion completes. It cannot be higher than the original livestream's resolution, the native resolution.

Values: native | sd | fhd | qhd | uhd

requestedService

(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 requestedService as the existing livestream layer will be deleted upon conversion.

elevationSourceItemId

(Optional)

Changes the default elevation by providing the portal item ID of a different elevation service.

f

(Required)

The response format. 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 start operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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

Use dark colors for code blocksCopy
1
2
3
4
{
    "jobId": "<job-id>",
    "success": <true | false>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
{
    "jobId": "j4f1399de-119d-4eba-9e8b-bb1c4c74d176",
    "success": true
}

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