OTVTrackInfo


@interface OTVTrackInfo : NSObject

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

  • The type of track

    Declaration

    Objective-C

    @property (nonatomic, readonly) enum OTVTrackType type;
  • The name of the track

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull name;
  • The language code of the track

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nullable language;
  • The media type of the track, one of audio, webvtt, cc, smpte_tt, srt, apic or unknown

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull mediaType;
  • The number of channels in the audio track

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger channelCount;
  • Enumeration of the codec of the track

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger codec;
  • The accessibility characteristics of the track

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSArray<NSString *> *_Nonnull characteristics;