Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration DegradationPreference

Video degradation preferences under limited bandwidth.

Index

Enumeration members

MAINTAIN_BALANCED

MAINTAIN_BALANCED: = 2

2: Reduces the video frame rate and video quality simultaneously during video encoding under limited bandwidth. MAINTAIN_BALANCED has a lower reduction than MAINTAIN_QUALITY and MAINTAIN_FRAMERATE, and this preference is suitable for scenarios where both smoothness and video quality are a priority.

note

The resolution of the video sent may change, so remote users need to handle this issue. See videoSizeChanged.

MAINTAIN_FRAMERATE

MAINTAIN_FRAMERATE: = 1

1: Prefers to reduce the video quality while maintaining the video frame rate during video encoding under limited bandwidth. This degradation preference is suitable for scenarios where smoothness is prioritized and video quality is allowed to be reduced.

MAINTAIN_QUALITY

MAINTAIN_QUALITY: = 0

0: (Default) Prefers to reduce the video frame rate while maintaining video quality during video encoding under limited bandwidth. This degradation preference is suitable for scenarios where video quality is prioritized.

note

In the COMMUNICATION channel profile, the resolution of the video sent may change, so remote users need to handle this issue. See videoSizeChanged.