|
Agora Java API Reference for Android
|
The video application scenarios. More...
Static Public Member Functions | |
| static int | getValue (VideoScenario type) |
Public Attributes | |
| APPLICATION_SCENARIO_GENERAL =(0) | |
| APPLICATION_SCENARIO_MEETING =(1) | |
| APPLICATION_SCENARIO_1V1 =(2) | |
| APPLICATION_SCENARIO_LIVESHOW =(3) | |
The video application scenarios.
| io.agora.rtc2.Constants.VideoScenario.APPLICATION_SCENARIO_GENERAL =(0) |
0: (Default) The general scenario.
| io.agora.rtc2.Constants.VideoScenario.APPLICATION_SCENARIO_MEETING =(1) |
1: The meeting scenario. APPLICATION_SCENARIO_MEETING (1) is suitable for meeting scenarios. The SDK automatically enables the following strategies:
VideoEncoderConfiguration configuration used in the most recent calling of setVideoEncoderConfiguration. If no configuration has been set by the user previously, the following values are used:SimulcastStreamConfig configuration used in the most recent calling of setDualStreamMode(Constants.SimulcastStreamMode mode, SimulcastStreamConfig streamConfig). If no configuration has been set by the user previously, the following values are used:setDualStreamMode(Constants.SimulcastStreamMode mode, SimulcastStreamConfig streamConfig) to set that never send low-quality video stream ( DISABLE_SIMULCAST_STREAM ), the dynamic adjustment of the low-quality stream in meeting scenarios will not take effect. | io.agora.rtc2.Constants.VideoScenario.APPLICATION_SCENARIO_1V1 =(2) |
2: 1v1 video call scenario. APPLICATION_SCENARIO_1V1 (2) This is applicable to the one to one live scenario. To meet the requirements for low latency and high-quality video in this scenario, the SDK optimizes its strategies, improving performance in terms of video quality, first frame rendering, latency on mid-to-low-end devices, and smoothness under weak network conditions.
| io.agora.rtc2.Constants.VideoScenario.APPLICATION_SCENARIO_LIVESHOW =(3) |
APPLICATION_SCENARIO_LIVESHOW (3) This is applicable to the show room scenario. In this scenario, fast video rendering and high image quality are crucial. The SDK implements several performance optimizations, including automatically enabling accelerated audio and video frame rendering to minimize first-frame latency (no need to call enableInstantMediaRendering ), and B-frame encoding to achieve better image quality and bandwidth efficiency. The SDK also provides enhanced video quality and smooth playback, even in poor network conditions or on lower-end devices.
1.8.18