TRTCVideoQosPreference enum

Image quality preference

TRTC has two control modes in weak network environments: "ensuring clarity" and "ensuring smoothness". Both modes will give priority to the transfer of audio data.

Inheritance
Annotations
  • @JsonEnum(alwaysCreate: true)

Constructors

TRTCVideoQosPreference()
const

Values

smooth → const TRTCVideoQosPreference
  • Ensuring smoothness
  • In this mode, when the current network is unable to transfer a clear and smooth video image, the smoothness of the image will be given priority, but there will be blurs.
clear → const TRTCVideoQosPreference
  • Ensuring clarity (default value)
  • In this mode, when the current network is unable to transfer a clear and smooth video image, the clarity of the image will be given priority, but there will be lags.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<TRTCVideoQosPreference>
A constant List of the values in this enum, in order of their declaration.