- URL:
- https://<root>/services/serviceName/VideoServer/<layerID>
- Methods:
GET- Operations:
- Update Camera, Update Layer, Update Poster, Start, Stop, Process, Clip, Frameset
- Version Introduced:
- 12.0
Description
The resource endpoint for a specific video service layer returns the properties associated with the layer.
Request parameters
| Parameter | Details |
|---|---|
(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. |
Response properties
| Property | Details |
|---|---|
| The type of service associated with the layer. Values: |
| A string provided as a description of the layer. |
| The |
| The video quality of the video used to create the layer. Values: |
| When a layer is created, a HLS connection URL is generated that points to the |
| The ID of the selected layer. This is generated at the time of layer creation and counts up from |
| Indicates whether a layer supports mensuration or not. Values: |
| This property includes details related to the full extent of the layer's spatial footprint. It includes |
| The |
| The Unix timestamp of when the layer was created, in seconds. |
| The |
| The version of ArcGIS Video Server utilized by a video layer. When ArcGIS Video server is upgraded to a newer version, layers should automatically be upgraded to the new version. Example |
| The |
| The |
| Indicates whether a layer supports exporting framesets with the Framset operation. Values: |
| Indicates whether or not a layer supports exporting clips with the Clip operation. Values: |
| Lists supported formats for queries. The current supported method is |
| This property includes details related to the initial extent of the layer's spatial footprint. It includes |
| Indicates whether a layer supports generating preview images. Values: |
| The layer's name. |
| The qualities, or resolutions, a layer has available for playback. Values: |
| The copyright text associated with a layer, provided as a string. |
| The |
| The URL at which the layer's poster can be viewed. |
| The |
Example usage
The following is a sample request URL used to access the resource for an individual layer:
https://organization.example.com:21443/arcgis/rest/services/sampleService/VideoServer/0?f=pjsonJSON Response syntax
{
"serviceType": "< ondemand | livestream >",
"description": "Test description",
"livestreamInfo": "livestream information",
"sourceQuality": "< sd | hd | fhd | uhd >",
"connectionUrl": {"hls": "https://organization.example.com/video/rest/services/sampleVideo/VideoServer/0/content/ABR.m3u8"},
"id": 0,
"supportsMensuration": "< true | false >",
"fullExtent": {
"ymin": "ymin coordinate",
"xmin": "xmin coordinate",
"ymax": "ymax coordinate",
"xmax": "xmax coordinate",
"spatialReference": {
"latestWkid": 4326,
"wkid": 4326
}
},
"elevationSource": {
"serviceItemId": "associated service Item ID",
"fileSystem": "esri/elevation/base"
},
"created": "unix time",
"codecs": {
"audio": "aac",
"text": "vtt",
"video": "h264"
},
"currentVersion": "12.0.0",
"playbackInfo": {
"klv": {
"0601": "< true | false >",
"0102": "< true | false >",
"0903": "< true | false >"
},
"framerate": "framerate",
"containerFormat": "<video file extension>",
"gop": "integer",
"aspectRatio": "16:9"
},
"frameCount": "integer of frames",
"supportsExportFrameset": "< true | false >",
"supportsExportClip": "< true | false >",
"supportedQueryFormats": "json",
"initialExtent": {
"ymin": "ymin coordinate",
"xmin": "xmin coordinate",
"ymax": "ymax coordinate",
"xmax": "xmax coordinate",
"spatialReference": {
"latestWkid": 4326,
"wkid": 4326
}
},
"supportsPreviews": "< true | false >",
"name": "sampleVideoLayer",
"qualities": "< sd | hd | fhd | uhd >",
"copyrightText": "copyright text string",
"time": {
"duration": "<video layer length>",
"timezone": "<time zone, eg EST, CST, MST, PST>",
"start": "epoch time",
"end": "epoch time"
},
"poster": "https://organization.example.com/video/rest/services/sampleVideo/VideoServer/0/poster/poster.jpg",
"cameraInfo": {
"farDistance": "integer",
"heading": "integer",
"tilt": "integer",
"position": {
"x": "epoch time",
"y": "epoch time"
},
"fov": "integer",
"height": "integer"
}
}JSON Response example
{
"serviceType": "ondemand",
"description": "",
"livestreamInfo": null,
"sourceQuality": "fhd",
"connectionUrl": {"hls": "https://organization.example.com/video/rest/services/sampleVideo/VideoServer/0/content/ABR.m3u8"},
"id": 0,
"supportsMensuration": false,
"fullExtent": {
"ymin": 41.129212653176928,
"xmin": -104.79965893131883,
"ymax": 41.1803497417905,
"xmax": -104.74690735124661,
"spatialReference": {
"latestWkid": 4326,
"wkid": 4326
}
},
"elevationSource": {
"serviceItemId": null,
"fileSystem": "esri/elevation/base"
},
"created": 1764090917456,
"codecs": {
"audio": "aac",
"text": "vtt",
"video": "h264"
},
"currentVersion": "12.0.0",
"playbackInfo": {
"klv": {
"0601": true,
"0102": true,
"0903": false
},
"framerate": "29.97",
"containerFormat": "MPEG-TS (MPEG-2 Transport Stream)",
"gop": 120,
"aspectRatio": "16:9"
},
"frameCount": 2494,
"supportsExportFrameset": true,
"supportsExportClip": true,
"supportedQueryFormats": "json",
"initialExtent": {
"ymin": 41.133196112621967,
"xmin": -104.78971332825435,
"ymax": 41.141752806410537,
"xmax": -104.77931187068111,
"spatialReference": {
"latestWkid": 4326,
"wkid": 4326
}
},
"supportsPreviews": true,
"name": "sampleVideoLayer",
"qualities": ["fhd"],
"copyrightText": "",
"time": {
"duration": 85141.333,
"timezone": "UTC",
"start": 1348087245993,
"end": 1348087329176
},
"poster": "https://organization.example.com/video/rest/services/sampleVideo/VideoServer/0/poster/poster.jpg",
"cameraInfo": {
"farDistance": "300",
"heading": "17",
"tilt": "-30",
"position": {
"x": -76.5074522056152,
"y": 39.0022906300187
},
"fov": "90",
"height": "45"
}
}