Agora Java API Reference for Android
|
Public Member Functions | |
int | getValue () |
Public Attributes | |
MAINTAIN_QUALITY =(0) | |
MAINTAIN_FRAMERATE =(1) | |
MAINTAIN_BALANCED =(2) | |
MAINTAIN_RESOLUTION =(3) | |
DISABLED =(100) | |
The video encoding degradation preference under limited bandwidth.
io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION_PREFERENCE.MAINTAIN_QUALITY =(0) |
0: (Default) Degrade the frame rate and keep resolution to guarantee the video quality.
io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION_PREFERENCE.MAINTAIN_FRAMERATE =(1) |
1: Degrade resolution in order to maintain framerate.
io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION_PREFERENCE.MAINTAIN_BALANCED =(2) |
2: Maintain resolution in video quality control process. Under limited bandwidth, degrade video quality first and then degrade frame rate.
io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION_PREFERENCE.MAINTAIN_RESOLUTION =(3) |
3: Degrade framerate in order to maintain resolution.
io.agora.rtc2.video.VideoEncoderConfiguration.DEGRADATION_PREFERENCE.DISABLED =(100) |
4: Disabled VQC adjustion.