Enum Class NEMeetingDegradationPreference

java.lang.Object
java.lang.Enum<NEMeetingDegradationPreference>
com.netease.yunxin.kit.meeting.sdk.NEMeetingDegradationPreference
所有已实现的接口:
Serializable, Comparable<NEMeetingDegradationPreference>, Constable

public enum NEMeetingDegradationPreference extends Enum<NEMeetingDegradationPreference>
带宽受限时的视频编码降级偏好
  • 枚举常量详细资料

    • DEGRADATION_DEFAULT

      public static final NEMeetingDegradationPreference DEGRADATION_DEFAULT
      根据场景模式调整适应性偏好 通信场景中,选择kNERtcDegradationBalanced 模式,在编码帧率和视频质量之间保持平衡。 直播场景中,选择kNERtcDegradationMaintainQuality 模式,降低编码帧率以保证视频质量。
    • DEGRADATION_MAINTAIN_FRAMERATE

      public static final NEMeetingDegradationPreference DEGRADATION_MAINTAIN_FRAMERATE
      流畅优先,降低视频质量以保证编码帧率。在弱网环境下,降低视频清晰度以保证视频流畅,此时画质降低,画面会变得模糊,但可以保持视频流畅。
    • DEGRADATION_MAINTAIN_QUALITY

      public static final NEMeetingDegradationPreference DEGRADATION_MAINTAIN_QUALITY
      清晰优先,降低编码帧率以保证视频质量。在弱网环境下,降低视频帧率以保证视频清晰,此时可能会出现一定卡顿。
    • DEGRADATION_BALANCED

      public static final NEMeetingDegradationPreference DEGRADATION_BALANCED
      在编码帧率和视频质量之间保持平衡。
  • 方法详细资料

    • values

      public static NEMeetingDegradationPreference[] 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

      public static NEMeetingDegradationPreference valueOf(String name)
      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 name
      NullPointerException - 如果参数为空值
    • getValue

      public int getValue()