BMPVideoQuality
Objective-C
@interface BMPVideoQuality : BMPQuality
Swift
class VideoQuality : Quality
Undocumented
-
The width of the video representation.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger width;Swift
var width: UInt { get } -
The height of the video representation.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger height;Swift
var height: UInt { get } -
Creates a new BMPVideoQuality based on the provided data.
Declaration
Objective-C
- (nonnull instancetype)initWithIdentifier:(nonnull NSString *)identifier label:(nonnull NSString *)label bitrate:(NSUInteger)bitrate codec:(nullable NSString *)codec width:(NSUInteger)width height:(NSUInteger)height;Swift
init(identifier: String, label: String, bitrate: UInt, codec: String?, width: UInt, height: UInt)Parameters
identifierThe unique identifier of the current media representation.
labelThe label of the media representation that should be exposed to the user (e.g. in the UI).
bitrateThe bitrate of the media representation.
codecThe codec of the media representation.
widthThe width of the video representation.
heightThe height of the video representation.
Return Value
A new video quality representation initialized with the provided data.
BMPVideoQuality Class Reference