TPLPlayerQuality


@interface TPLPlayerQuality : NSObject

Represents a selection of video/audio tracks from the loaded media.

  • Bitrate of the media in bits per second (bps).

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger bitrate;
  • Codec string representing the media codec information; e.g., "avc1.64002A,mp4a.40.2".

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *codecs;
  • Native video framerate (in frames/sec) or zero if unknown or not applicable.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float framerate;
  • Native video height (in pixels) or zero if unknown or not applicable.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger height;
  • Native video width (in pixels) or zero if unknown or not applicable.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger width;
  • Name of the quality.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *name;
  • Unavailable

    TPLPlayerQuality can not be created with init

    Developers shouldn’t initialize this class directly.

    TPLPlayerQuality can not be created with init.

    Declaration

    Objective-C

    - (null_unspecified instancetype)init;