# BitrateAdapter

open class BitrateAdapter

Created by pedro on 11/07/19.

## Constructors

BitrateAdapter
Link copied to clipboard
constructor(listener: BitrateAdapter.Listener)

## Types

Listener
Link copied to clipboard
interface Listener

## Properties

decreaseRange
Link copied to clipboard
open var decreaseRange: Float
increaseRange
Link copied to clipboard
open var increaseRange: Float

## Functions

adaptBitrate
Link copied to clipboard
open fun adaptBitrate(actualBitrate: Long)
open fun adaptBitrate(actualBitrate: Long, hasCongestion: Boolean)
Adapt bitrate on fly based on queue state.
reset
Link copied to clipboard
open fun reset()
setMaxBitrate
Link copied to clipboard
open fun setMaxBitrate(bitrate: Int)