OTVMediaInfo


@interface OTVMediaInfo : NSObject

The media information of the OTVPersistenceAsset

  • The asset Duration

    Declaration

    Objective-C

    @property (nonatomic, readonly) double duration;
  • Deprecated

    The selected bandwidth to download (Deprecated, please use selectedBitrate)

    Declaration

    Objective-C

    @property (nonatomic, readonly) double selectedBandwidth;
  • Return the selected bitrate of the download

    Declaration

    Objective-C

    @property (nonatomic, readonly) double selectedBitrate;
  • Return the selected resolution of the download

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGSize selectedResolution;
  • Return the estimated size of the selected download

    Declaration

    Objective-C

    @property (nonatomic, readonly) uint64_t selectedEstimateSize;
  • The selected video track to download. Please set one of the values returned from availableStreamInfo note:

    • Set this value only before the download start, otherwise it has no effect.

    Declaration

    Objective-C

    @property (nonatomic, strong) OTVStreamInfo *_Nullable selectedStreamInfo;
  • The AVMediaSelectionOption to be chosen for the asset being download. Either all (all trakcs) or defualt (default tracks)

    Declaration

    Objective-C

    @property (nonatomic) enum OTVMediaSelectionOptions mediaSelections;
  • The availble iFrame tracks for the media content

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSArray<OTVIframeTracks *> *_Nullable availableIFrameTracks;
  • The list of availble video tracks to download and the media info assosiated

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSArray<OTVStreamInfo *> *_Nullable availableStreamInfo;
  • Declaration

    Objective-C

    @property (nonatomic, readonly, copy) NSArray<OTVStreamDrmInfo *> * _Nullable availableDrmInfo