Struct TRTCNetworkQosParam
6.3 QoS control parameters
QoS control parameters, which determine the SDK’s QoS policy under different network conditions, for example, whether to prioritize smoothness or clarity under poor network conditions
Inherited Members
Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public struct TRTCNetworkQosParam
Fields
controlMode
Description: QoS control mode (cloud control/local control)
**Value:** Cloud control is recommended.
**Note:**
- Server mode (default): cloud control, which is the recommended mode
- Client mode: local control, which is for internal debugging of the SDK and is not recommended
Declaration
public TRTCQosControlMode controlMode
Field Value
Type | Description |
---|---|
TRTCQosControlMode |
preference
Description: whether to prioritize clarity or smoothness under poor network conditions
**Note:**
- Prioritize smoothness under poor network conditions. The video may be blurry and pixelated, but playback is smooth without stutter.
- Prioritize clarity under poor network conditions. The video is clear, but playback may stutter.
Declaration
public TRTCVideoQosPreference preference
Field Value
Type | Description |
---|---|
TRTCVideoQosPreference |