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

    identifier

    The unique identifier of the current media representation.

    label

    The label of the media representation that should be exposed to the user (e.g. in the UI).

    bitrate

    The bitrate of the media representation.

    codec

    The codec of the media representation.

    width

    The width of the video representation.

    height

    The height of the video representation.

    Return Value

    A new video quality representation initialized with the provided data.