Show / Hide Table of Contents

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
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
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
In This Article
Back to top Generated by DocFX