Enum NERoomDegradationPreference

    • Constructor Summary

      Constructors 
      Constructor Description
    • 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 NERoomDegradationPreference valueOf(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 Integer getValue()
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.