OTVTrackInfo

public class OTVTrackInfo : NSObject

Describes a track, e.g. subtitle or audio track

  • The type of track

    Declaration

    Swift

    @objc
    public let type: OTVTrackType
  • The name of the track

    Declaration

    Swift

    @objc
    public let name: String
  • The language code of the track

    Declaration

    Swift

    @objc
    public let language: String?
  • The media type of the track, one of audio, webvtt, cc, smpte_tt, srt, apic or unknown

    Declaration

    Swift

    @objc
    public let mediaType: String