public static class TcrSessionConfig.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TcrSessionConfig.Builder |
audioSampleCallback(AudioSampleCallback audioSampleCallback)
|
TcrSessionConfig |
build()
Construct a
TcrSessionConfig . |
TcrSessionConfig.Builder |
connectTimeout(long connectTimeout)
|
TcrSessionConfig.Builder |
enableLowLegacyRendering(boolean enableLowLegacyRendering)
|
TcrSessionConfig.Builder |
idleThreshold(long idleThreshold)
|
TcrSessionConfig.Builder |
lowFpsThreshold(int fps,
int duration)
|
TcrSessionConfig.Builder |
observer(TcrSession.Observer observer)
|
TcrSessionConfig.Builder |
videoFrameCallback(VideoFrameBufferCallback videoFrameBufferCallback)
|
public TcrSessionConfig.Builder connectTimeout(long connectTimeout)
public TcrSessionConfig.Builder idleThreshold(long idleThreshold)
public TcrSessionConfig.Builder lowFpsThreshold(int fps, int duration)
public TcrSessionConfig.Builder observer(TcrSession.Observer observer)
public TcrSessionConfig.Builder videoFrameCallback(VideoFrameBufferCallback videoFrameBufferCallback)
public TcrSessionConfig.Builder audioSampleCallback(AudioSampleCallback audioSampleCallback)
public TcrSessionConfig.Builder enableLowLegacyRendering(boolean enableLowLegacyRendering)
public TcrSessionConfig build()
TcrSessionConfig
.TcrSessionConfig