ArmMediaModelFactory.AudioTrack Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Returns
A new AudioTrack instance for mocking.
Applies to
Azure SDK for .NET