Delen via


AudioTrack Class

Definition

Represents an audio track in the asset.

public class AudioTrack : Azure.ResourceManager.Media.Models.MediaAssetTrackBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.AudioTrack>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.AudioTrack>
public class AudioTrack : Azure.ResourceManager.Media.Models.MediaAssetTrackBase
type AudioTrack = class
    inherit MediaAssetTrackBase
    interface IJsonModel<AudioTrack>
    interface IPersistableModel<AudioTrack>
type AudioTrack = class
    inherit MediaAssetTrackBase
Public Class AudioTrack
Inherits MediaAssetTrackBase
Implements IJsonModel(Of AudioTrack), IPersistableModel(Of AudioTrack)
Public Class AudioTrack
Inherits MediaAssetTrackBase
Inheritance
Implements

Constructors

AudioTrack()

Initializes a new instance of AudioTrack.

Properties

BitRate

The stream bit rate for the audio track.

DashRole

The role for the DASH setting.

DisplayName

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

FileName

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

HlsSettings

The HLS specific setting for the audio track.

LanguageCode

The RFC5646 language code for the audio track.

Mpeg4TrackId

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AudioTrack>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AudioTrack>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MediaAssetTrackBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MediaAssetTrackBase)
IJsonModel<MediaAssetTrackBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MediaAssetTrackBase)
IPersistableModel<AudioTrack>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AudioTrack>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AudioTrack>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MediaAssetTrackBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MediaAssetTrackBase)
IPersistableModel<MediaAssetTrackBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MediaAssetTrackBase)
IPersistableModel<MediaAssetTrackBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MediaAssetTrackBase)

Applies to