TextTrack Class

Represents a text track in an asset. A text track is usually used for sparse data related to the audio or video tracks.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.media.models._models_py3.TrackBase
TextTrack

Constructor

TextTrack(*, file_name: str | None = None, display_name: str | None = None, player_visibility: str | _models.Visibility | None = None, hls_settings: _models.HlsSettings | None = None, **kwargs)

Keyword-Only Parameters

Name Description
file_name
str

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

display_name
str

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

player_visibility

When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible". Known values are: "Hidden" and "Visible".

hls_settings

The HLS specific setting for the text track.

Variables

Name Description
odata_type
str

The discriminator for derived types. Required.

file_name
str

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

display_name
str

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

language_code
str

The RFC5646 language code for the text track.

player_visibility

When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible". Known values are: "Hidden" and "Visible".

hls_settings

The HLS specific setting for the text track.