AdaptationConfig
@objcMembers
@objc(BMPAdaptationConfig)
public class AdaptationConfig : NSObject
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
0for no limitation. This value stays persistent acrossPlayer.loadandPlayer.playlist.addcalls.Default value is
0.Note
To setup the maximum bitrate for the current playlist’s sources only, without it staying persistent on newPlayer.loadandPlayer.playlist.add(source:)calls, usePlayer.maxSelectableBitrateinstead.Note
Gets reset to the default value after callingPlayer.unload.Declaration
Swift
public var maxSelectableBitrate: UInt
AdaptationConfig Class Reference