BufferConfig
data class BufferConfig(var audioAndVideo: BufferMediaTypeConfig = BufferMediaTypeConfig(), var startupThreshold: Double = 2.5, var restartThreshold: Double = 5.0) : Parcelable
Configures buffer settings for media types defined in MediaType.
Constructors
| BufferConfig | constructor(audioAndVideo: BufferMediaTypeConfig = BufferMediaTypeConfig(), startupThreshold: Double = 2.5, restartThreshold: Double = 5.0) |
Types
| Name | Summary |
|---|---|
| Builder | class Builder |
Properties
| Name | Summary |
|---|---|
| audioAndVideo | var audioAndVideo: BufferMediaTypeConfig Configures various settings for the video and audio buffers. |
| restartThreshold | var restartThreshold: Double Amount of seconds the player buffers before playback starts again after a stall. This value is restricted to the maximum value of the buffer minus 0.5 seconds. Default is 5 seconds. |
| startupThreshold | var startupThreshold: Double Amount of seconds the player buffers before playback starts. This value is restricted to the maximum value of the buffer minus 0.5 seconds. Default is 2.5 seconds. |