-
public class RendererConfig
This class contains configuration values used on a Renderer Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RendererConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description private int
httpReadTimeoutMillis
private int
httpConnectTimeoutMillis
private boolean
restrictHdContentToWidevineL1
private int
bufferSegmentSize
private int
bufferSegmentCount
-
Method Summary
Modifier and Type Method Description int
getHttpReadTimeoutMillis()
Gets the http read timeout value, the maximum time to wait for an input stream read through http. int
getHttpConnectTimeoutMillis()
Gets the http connect timeout value, the maximum time in milliseconds to wait while connecting through http. boolean
getRestrictHdContentToWidevineL1()
Checks if the restriction to play 'protected HD content' ONLY on devices withWidevine security level 1 (L1) is enabled or disabled. int
getBufferSegmentSize()
Gets the buffer segment size, the size in bytes for each segment of the buffer. int
getBufferSegmentCount()
Gets the number of segments to buffer ahead. -
-
Method Detail
-
getHttpReadTimeoutMillis
int getHttpReadTimeoutMillis()
Gets the http read timeout value, the maximum time to wait for an input stream read through http.
-
getHttpConnectTimeoutMillis
int getHttpConnectTimeoutMillis()
Gets the http connect timeout value, the maximum time in milliseconds to wait while connecting through http.
-
getRestrictHdContentToWidevineL1
boolean getRestrictHdContentToWidevineL1()
Checks if the restriction to play 'protected HD content' ONLY on devices withWidevine security level 1 (L1) is enabled or disabled.
-
getBufferSegmentSize
int getBufferSegmentSize()
Gets the buffer segment size, the size in bytes for each segment of the buffer.
-
getBufferSegmentCount
int getBufferSegmentCount()
Gets the number of segments to buffer ahead.
-
-
-
-