IVSQuality
@interface IVSQuality : NSObject
Represents a selection of video/audio tracks from the loaded media.
-
Unavailable
Declaration
Objective-C
IVS_INIT_UNAVAILABLE() -
Unavailable
Declaration
Objective-C
IVS_INIT_UNAVAILABLE() -
Name of the quality, suitable for use in a user interface.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull name;Swift
var name: String { get } -
Codec string representing the media codec information; e.g.,
"avc1.64002A,mp4a.40.2".Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull codecs;Swift
var codecs: String { get } -
Bitrate of the media in bits per second (bps).
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger bitrate;Swift
var bitrate: Int { get } -
Native video framerate (in frames/sec) or zero if unknown or not applicable.
Declaration
Objective-C
@property (nonatomic, readonly) float framerate;Swift
var framerate: Float { get } -
Native video width (in pixels) or zero if unknown or not applicable.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger width;Swift
var width: Int { get } -
Native video height (in pixels) or zero if unknown or not applicable.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger height;Swift
var height: Int { get }
-
Returns a comparison value that indicates ordering relative to another instance.
Declaration
Objective-C
- (NSComparisonResult)compare:(nonnull IVSQuality *)other;Swift
func compare(_ other: IVSQuality) -> ComparisonResultParameters
otherAnother instance created for the same URL
-
Returns a boolean value that indicates whether a given quality is equal to another.
Declaration
Objective-C
- (BOOL)isEqualToQuality:(nonnull IVSQuality *)other;Swift
func isEqual(to other: IVSQuality) -> BoolParameters
otherAnother instance created for the same URL
IVSQuality Class Reference