INNER CODE UNIT · TypeScript
MaintainAuto
AgoraIO-Extensions/react-native-agora · src/AgoraBase.ts:808
MaintainAuto = -1,
/**
* 0: When bandwidth is limited, prioritize reducing video frame rate while maintaining resolution. This degradation preference suits scenarios where video quality is prioritized. Deprecated: This enum is deprecated. Use other enums instead.
*/
MaintainQuality = 0,
/**
* 1: When bandwidth is limited, prioritize reducing video resolution while maintaining frame rate. This degradation preference suits scenarios where smoothness is prioritized and some quality loss is acceptable.
*/
MaintainFramerate = 1,
/**
* 2: When bandwidth is limited, reduce both video frame rate and resolution. The degradation level of MaintainBalanced is lower than that of MaintainQuality and MaintainFramerate, suitable for scenarios with both smoothness and quality constraints. The resolution of the locally sent video may change. The remote user must be able to handle this. See onVideoSizeChanged.
*/
MaintainBalanced = 2,
/**
* 3: When bandwidth is limited, prioritize reducing video frame rate while maintaining resolution. This degradation preference suits scenarios where video quality is prioritized.
*/
MaintainResolution = 3,
/**