TextTrackDescription
open class TextTrackDescription : NSObject, CodableA TextTrackDescription object contains a description of a side-loaded text track that will be added to the player.
Remark
MP4/3 streams only support VTT formatted text tracks. AirPlay is not supported with MP4/3 streams.- 
                  
                  Whether the track should be enabled by default. Remark This may only be used on one track element per media element.DeclarationSwift public var isDefault: Bool?
- 
                  
                  A TextTrackKind object specifying what kind of text track this is. DeclarationSwift public var kind: TextTrackKind?
- 
                  
                  Specifies a source URL where the text track can be downloaded from. DeclarationSwift public var src: URL
- 
                  
                  Specifies the main language of the track. DeclarationSwift public var srclang: String
- 
                  
                  Specifies a label for the track which can be used to identify it. DeclarationSwift public var label: String?
- 
                  
                  A TextTrackFormat object specifying what format of text track this is. DeclarationSwift public var format: TextTrackFormat?
- 
                  
                  Constructs a TextTrackDescription. DeclarationSwift public init(src: String, srclang: String, isDefault: Bool? = nil, kind: TextTrackKind? = nil, label: String? = nil, format: TextTrackFormat? = nil)ParameterssrcThe source of the text track. srclangThe language of the text track. isDefaultWhether the text track should be the default one, defaults to nil. kindThe kind of the text track, defaults to nil. labelThe label of the text track, defaults to nil. formatThe format of the text track, defaults to nil. 
- 
                  
                  DeclarationSwift public func encode(to encoder: Encoder) throws
