public class TcrSessionConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TcrSessionConfig.Builder |
Modifier and Type | Field and Description |
---|---|
AudioSampleCallback |
audioSampleCallback
The callback of audio sample
|
long |
connectTimeout
The connection timeout threshold.
|
boolean |
enableLowLegacyRendering
Turn on low-latency rendering.
Rendering delay will be reduced when turned on. When the network condition is good, the delay is significantly reduced after opening. |
long |
idleThreshold
The idle detection threshold, that is, the duration of user inactivity.
|
int |
lowFpsThresholdCount
The frame rate threshold.
|
int |
lowFpsThresholdDuration
The frame rate duration threshold.
|
TcrSession.Observer |
observer
The observer of TcrSession
|
VideoFrameBufferCallback |
videoFrameBufferCallback
The callback of video frame buffer
|
Modifier and Type | Method and Description |
---|---|
static TcrSessionConfig.Builder |
builder()
return the builder for TcrSessionConfig
|
java.lang.String |
toString() |
public final long connectTimeout
TcrSession.Event.STATE_CLOSED
will be triggered.public final long idleThreshold
TcrSession.Event.CLIENT_IDLE
will be triggered.public final int lowFpsThresholdCount
fps
and the duration exceeds duration
second, the
event TcrSession.Event.CLIENT_LOW_FPS
will be triggered.public final int lowFpsThresholdDuration
fps
and the duration exceeds duration
second, the
event TcrSession.Event.CLIENT_LOW_FPS
will be triggered.public final TcrSession.Observer observer
public final VideoFrameBufferCallback videoFrameBufferCallback
public final AudioSampleCallback audioSampleCallback
public final boolean enableLowLegacyRendering
public java.lang.String toString()
toString
in class java.lang.Object
public static TcrSessionConfig.Builder builder()