The mediaservices/liveEvents/liveOutputs resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Media/mediaservices/liveEvents/liveOutputs resource, add the following JSON to your template.
{
"type": "Microsoft.Media/mediaservices/liveEvents/liveOutputs",
"apiVersion": "2022-08-01",
"name": "string",
"properties": {
"archiveWindowLength": "string",
"assetName": "string",
"description": "string",
"hls": {
"fragmentsPerTsSegment": "int"
},
"manifestName": "string",
"outputSnapTime": "int",
"rewindWindowLength": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Media/mediaservices/liveEvents/liveOutputs' |
apiVersion | The resource api version | '2022-08-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) Character limit: 1-256 Valid characters: Alphanumerics and hyphens. Start with alphanumeric. |
properties | Live output properties. | LiveOutputProperties |
Name | Description | Value |
---|---|---|
archiveWindowLength | ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. | string (required) |
assetName | The asset that the live output will write to. | string (required) |
description | The description of the live output. | string |
hls | HTTP Live Streaming (HLS) packing setting for the live output. | Hls |
manifestName | The manifest file name. If not provided, the service will generate one automatically. | string |
outputSnapTime | The initial timestamp that the live output will start at, any content before this value will not be archived. | int |
rewindWindowLength | ISO 8601 time between 1 minute to the duration of archiveWindowLength to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. | string |
Name | Description | Value |
---|---|---|
fragmentsPerTsSegment | The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. | int |