toggle menu
RootEncoder
androidJvm
switch theme
search in API
library
/
com.pedro.library.util
/
BitrateAdapter
Bitrate
Adapter
open
class
BitrateAdapter
Created by pedro on 11/07/19.
Members
Constructors
Bitrate
Adapter
Link copied to clipboard
constructor
(
listener
:
BitrateAdapter.Listener
)
Types
Listener
Link copied to clipboard
interface
Listener
Properties
decrease
Range
Link copied to clipboard
open
var
decreaseRange
:
Float
increase
Range
Link copied to clipboard
open
var
increaseRange
:
Float
Functions
adapt
Bitrate
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
(
)
set
Max
Bitrate
Link copied to clipboard
open
fun
setMaxBitrate
(
bitrate
:
Int
)