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 acrossPlayer.load
andPlayer.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 newPlayer.load
andPlayer.playlist.add(source:)
calls, usePlayer.maxSelectableBitrate
instead.Note
Gets reset to the default value after callingPlayer.unload
.Declaration
Swift
public var maxSelectableBitrate: UInt