Enum NERoomDegradationPreference
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum NERoomDegradationPreference extends Enum<NERoomDegradationPreference>
带宽受限时的视频编码降级偏好
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNERoomDegradationPreference.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description DEGRADATION_DEFAULT根据场景模式调整适应性偏好 通信场景中,选择kNERtcDegradationBalanced 模式,在编码帧率和视频质量之间保持平衡。 直播场景中,选择kNERtcDegradationMaintainQuality 模式,降低编码帧率以保证视频质量。
DEGRADATION_MAINTAIN_FRAMERATE流畅优先,降低视频质量以保证编码帧率。在弱网环境下,降低视频清晰度以保证视频流畅,此时画质降低,画面会变得模糊,但可以保持视频流畅。
DEGRADATION_MAINTAIN_QUALITY清晰优先,降低编码帧率以保证视频质量。在弱网环境下,降低视频帧率以保证视频清晰,此时可能会出现一定卡顿。
DEGRADATION_BALANCED在编码帧率和视频质量之间保持平衡。
-
Method Summary
Modifier and Type Method Description final NERoomDegradationPreferencevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<NERoomDegradationPreference>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetValue()-
-
Method Detail
-
valueOf
final NERoomDegradationPreference valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<NERoomDegradationPreference> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-
-
-