Enum Class NEMeetingDegradationPreference
java.lang.Object
java.lang.Enum<NEMeetingDegradationPreference>
com.netease.yunxin.kit.meeting.sdk.NEMeetingDegradationPreference
- 所有已实现的接口:
Serializable,Comparable<NEMeetingDegradationPreference>,Constable
带宽受限时的视频编码降级偏好
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明在编码帧率和视频质量之间保持平衡。根据场景模式调整适应性偏好 通信场景中,选择kNERtcDegradationBalanced 模式,在编码帧率和视频质量之间保持平衡。流畅优先,降低视频质量以保证编码帧率。清晰优先,降低编码帧率以保证视频质量。 -
方法概要
修饰符和类型方法说明intgetValue()Returns the enum constant of this class with the specified name.static NEMeetingDegradationPreference[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
DEGRADATION_DEFAULT
根据场景模式调整适应性偏好 通信场景中,选择kNERtcDegradationBalanced 模式,在编码帧率和视频质量之间保持平衡。 直播场景中,选择kNERtcDegradationMaintainQuality 模式,降低编码帧率以保证视频质量。 -
DEGRADATION_MAINTAIN_FRAMERATE
流畅优先,降低视频质量以保证编码帧率。在弱网环境下,降低视频清晰度以保证视频流畅,此时画质降低,画面会变得模糊,但可以保持视频流畅。 -
DEGRADATION_MAINTAIN_QUALITY
清晰优先,降低编码帧率以保证视频质量。在弱网环境下,降低视频帧率以保证视频清晰,此时可能会出现一定卡顿。 -
DEGRADATION_BALANCED
在编码帧率和视频质量之间保持平衡。
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
getValue
public int getValue()
-