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
  • The number of channels in the audio track

    Declaration

    Swift

    @objc
    public let channelCount: Int
  • Enumeration of the codec of the track

    Declaration

    Swift

    @objc
    public let codec: Int
  • The accessibility characteristics of the track

    Declaration

    Swift

    @objc
    public let characteristics: [String]