Compartir a través de


ArmMediaModelFactory.AudioTrack Method

Definition

Initializes a new instance of AudioTrack.

public static Azure.ResourceManager.Media.Models.AudioTrack AudioTrack (string fileName = default, string displayName = default, string languageCode = default, Azure.ResourceManager.Media.Models.HlsSettings hlsSettings = default, string dashRole = default, int? mpeg4TrackId = default, int? bitRate = default);
static member AudioTrack : string * string * string * Azure.ResourceManager.Media.Models.HlsSettings * string * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Media.Models.AudioTrack
Public Shared Function AudioTrack (Optional fileName As String = Nothing, Optional displayName As String = Nothing, Optional languageCode As String = Nothing, Optional hlsSettings As HlsSettings = Nothing, Optional dashRole As String = Nothing, Optional mpeg4TrackId As Nullable(Of Integer) = Nothing, Optional bitRate As Nullable(Of Integer) = Nothing) As AudioTrack

Parameters

fileName
String

The file name to the source file. This file is located in the storage container of the asset.

displayName
String

The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.

languageCode
String

The RFC5646 language code for the audio track.

hlsSettings
HlsSettings

The HLS specific setting for the audio track.

dashRole
String

The DASH specific setting for the audio track.

mpeg4TrackId
Nullable<Int32>

The MPEG-4 audio track ID for the audio track.

bitRate
Nullable<Int32>

The stream bit rate for the audio track.

Returns

A new AudioTrack instance for mocking.

Applies to