VideoQuality

@objcMembers
@objc(BMPVideoQuality)
public class VideoQuality : Quality

Quality definition of a video representation.

  • The width of the video representation.

    Declaration

    Swift

    public let width: UInt
  • The height of the video representation.

    Declaration

    Swift

    public let height: UInt
  • Creates a quality definition for a video representation based on the provided data.

    Declaration

    Swift

    public init(
        identifier: String,
        label: String,
        bitrate: UInt,
        codec: String?,
        width: UInt,
        height: UInt
    )

    Parameters

    identifier

    The unique identifier of the video representation.

    label

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

    bitrate

    The bitrate of the video representation.

    codec

    The codec of the video representation.

    width

    The width of the video representation.

    height

    The height of the video representation.