TextTrackFormat
@objc(THEOplayerTextTrackFormat)
public enum TextTrackFormat : Int
extension TextTrackFormat: Codable
Describes the format of the text track.
-
The text track is in the Web Video Text Tracks format.
Remark
In the native pipeline, for HLS streams use the sideloaded subtitles connector to put this format into effect. For more info, please check: https://github.com/THEOplayer/iOS-ConnectorDeclaration
Swift
@objc(THEOplayerTextTrackFormatWEBVTT) case WebVTT = 1
-
The text track is in the SubRip Text Tracks format.
Remark
Supported only when using the sideloaded subtitles connector. For more info, please check: https://github.com/THEOplayer/iOS-ConnectorDeclaration
Swift
@objc(THEOplayerTextTrackFormatSRT) case SRT = 2
-
The raw value of type String.
Declaration
Swift
public var _rawValue: String { get set }