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.TrackBaseTextTrack
Constructor
TextTrack(*, file_name: Optional[str] = None, display_name: Optional[str] = None, player_visibility: Optional[Union[str, _models.Visibility]] = None, hls_settings: Optional[_models.HlsSettings] = None, **kwargs)
Variables
- odata_type
- str
Required. The discriminator for derived types.Constant filled by server.
- 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
- str or 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", "Visible".
- hls_settings
- HlsSettings
The HLS specific setting for the text track.
Feedback
Submit and view feedback for