AdaptationConfig

@objcMembers
@objc(BMPAdaptationConfig)
public class AdaptationConfig : NSObject, @unchecked Sendable

Contains config values regarding the behaviour of the bitrate adaptation.

  • The maximum bitrate in bits per second for network bandwidth consumption of the loaded sources. Set to 0 for no limitation. This value stays persistent across Player.load and Player.playlist.add calls.

    Default value is 0.

    Note

    To setup the maximum bitrate for the current playlist’s sources only, without it staying persistent on new Player.load and Player.playlist.add(source:) calls, use Player.maxSelectableBitrate instead.

    Note

    Gets reset to the default value after calling Player.unload.

    Declaration

    Swift

    public var maxSelectableBitrate: UInt