BufferConfiguration

data class BufferConfiguration(val backBufferDuration: Duration = 20.seconds, val minPlaybackBufferAudio: Duration = 2.minutes, val maxPlaybackBufferAudio: Duration = 2.minutes, val minPlaybackBufferVideo: Duration = 15.seconds, val maxPlaybackBufferVideo: Duration = 50.seconds, val bufferForPlayback: Duration = 2.5.seconds, val bufferForPlaybackAfterRebuffer: Duration = 5.seconds, val audioTrackBuffer: Duration = 1.5.seconds, val audioBufferSize: ByteAmount = 12.5.megabytes, val videoBufferSize: ByteAmount = 125.megabytes)

A parameter bag for creating configurations for playback buffer logic.

Constructors

Link copied to clipboard
constructor(backBufferDuration: Duration = 20.seconds, minPlaybackBufferAudio: Duration = 2.minutes, maxPlaybackBufferAudio: Duration = 2.minutes, minPlaybackBufferVideo: Duration = 15.seconds, maxPlaybackBufferVideo: Duration = 50.seconds, bufferForPlayback: Duration = 2.5.seconds, bufferForPlaybackAfterRebuffer: Duration = 5.seconds, audioTrackBuffer: Duration = 1.5.seconds, audioBufferSize: ByteAmount = 12.5.megabytes, videoBufferSize: ByteAmount = 125.megabytes)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard