Builder

class Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun build(): RendererConfig
Link copied to clipboard
open fun setBufferSegmentCount(bufferSegmentCount: Int): RendererConfig.Builder
Sets the number of segments to buffer ahead.
Link copied to clipboard
open fun setBufferSegmentSize(bufferSegmentSize: Int): RendererConfig.Builder
Sets the buffer segment size, the size in bytes for each segment of the buffer.
Link copied to clipboard
open fun setHttpConnectTimeoutMillis(httpConnectTimeoutMillis: Int): RendererConfig.Builder
Sets the http connect timeout value, the maximum time in milliseconds to wait while connecting through http.
Link copied to clipboard
open fun setHttpReadTimeoutMillis(httpReadTimeoutMillis: Int): RendererConfig.Builder
Sets the http read timeout value, the maximum time to wait for an input stream read through http.
Link copied to clipboard
Enables or disables a restriction to play 'protected HD content' ONLY on devices with Widevine security level 1 (L1).