Live Outputs - Get
Get Live Output
Gets a live output.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}?api-version=2022-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The Media Services account name. |
live
|
path | True |
string |
The name of the live event, maximum length is 32. Regex pattern: |
live
|
path | True |
string |
The name of the live output. Regex pattern: |
resource
|
path | True |
string |
The name of the resource group within the Azure subscription. |
subscription
|
path | True |
string |
The unique identifier for a Microsoft Azure subscription. |
api-version
|
query | True |
string |
The version of the API to be used with the client request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. The request has succeeded. |
|
Other Status Codes |
The streaming error response describing why the operation failed. |
Examples
Get a LiveOutput by name
Sample request
Sample response
{
"name": "myLiveOutput1",
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1",
"type": "Microsoft.Media/mediaservices/liveevents/liveoutputs",
"properties": {
"description": null,
"assetName": "cb2ae0bc-677a-4830-9c8e-06ce4c4cb607",
"archiveWindowLength": "PT5M",
"manifestName": "fc7096f5-c488-4b86-8302-f3bfde53fc27",
"outputSnapTime": 0,
"resourceState": "Running",
"provisioningState": "Succeeded",
"created": "0001-01-01T00:00:00-08:00",
"lastModified": "0001-01-01T00:00:00-08:00",
"hls": {
"fragmentsPerTsSegment": 5
},
"rewindWindowLength": "PT4M"
},
"systemData": {
"createdBy": "[email protected]",
"createdByType": "User",
"createdAt": "0001-01-01T00:00:00-08:00",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User",
"lastModifiedAt": "0001-01-01T00:00:00-08:00"
}
}
Definitions
Name | Description |
---|---|
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Hls |
HTTP Live Streaming (HLS) packing setting for the live output. |
Live |
The Live Output. |
Live |
The resource state of the live output. |
system |
Metadata pertaining to creation and last modification of the resource. |
createdByType
The type of identity that created the resource.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
Hls
HTTP Live Streaming (HLS) packing setting for the live output.
Name | Type | Description |
---|---|---|
fragmentsPerTsSegment |
integer |
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. |
LiveOutput
The Live Output.
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
The name of the resource |
properties.archiveWindowLength |
string |
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. |
properties.assetName |
string |
The asset that the live output will write to. |
properties.created |
string |
The creation time the live output. |
properties.description |
string |
The description of the live output. |
properties.hls |
HTTP Live Streaming (HLS) packing setting for the live output. |
|
properties.lastModified |
string |
The time the live output was last modified. |
properties.manifestName |
string |
The manifest file name. If not provided, the service will generate one automatically. |
properties.outputSnapTime |
integer |
The initial timestamp that the live output will start at, any content before this value will not be archived. |
properties.provisioningState |
string |
The provisioning state of the live output. |
properties.resourceState |
The resource state of the live output. |
|
properties.rewindWindowLength |
string |
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. |
systemData |
The system metadata relating to this resource. |
|
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
LiveOutputResourceState
The resource state of the live output.
Name | Type | Description |
---|---|---|
Creating |
string |
Live output is being created. No content is archived in the asset until the live output is in running state. |
Deleting |
string |
Live output is being deleted. The live asset is being converted from live to on-demand asset. Any streaming URLs created on the live output asset continue to work. |
Running |
string |
Live output is running and archiving live streaming content to the asset if there is valid input from a contribution encoder. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |