Track API
-
A track object.
Remark
- Either a TextTrack or a MediaTrack.
- A specific track type (e.g.
TextTrack
) will always be used.
Declaration
Swift
public protocol Track : EventDispatcherProtocol
-
A VideoTrack object is an element that represents a single video track that can be played by the player.
Declaration
Swift
public protocol VideoTrack : MediaTrack
-
An AudioTrack object is an element that represents a single audio track that can be played by the player.
See moreDeclaration
Swift
public protocol AudioTrack : MediaTrack
-
Describes the kind of the text track.
See moreDeclaration
Swift
@objc(THEOplayerTextTrackKind) public enum TextTrackKind : Int
extension TextTrackKind: Codable
-
Describes the format of the text track.
See moreDeclaration
Swift
@objc(THEOplayerTextTrackFormat) public enum TextTrackFormat : Int
extension TextTrackFormat: Codable