VIDEO_APPLICATION_SCENARIO_TYPE

Video application scenario types.

Enumerations

APPLICATION_SCENARIO_GENERAL
(0): Default general scenario.
APPLICATION_SCENARIO_MEETING
Note: If you call setDualStreamMode(SIMULCAST_STREAM_MODE mode, const SimulcastStreamConfig& streamConfig) and set it to not send the low-quality video stream (DISABLE_SIMULCAST_STREAM), the dynamic adjustment of the low-quality stream in meeting scenarios will not take effect.
(1): Meeting scenario. Suitable for meetings. The SDK automatically enables the following strategies:
  • In scenarios requiring high bitrate for the low stream, the SDK enables various anti-network-congestion techniques to improve low-quality stream performance and ensure smooth reception on the subscriber side;
  • The SDK monitors the number of subscribers to the high stream in real time and dynamically adjusts the configuration:
    • If no one subscribes, it automatically reduces the bitrate and frame rate to save uplink bandwidth;
    • If someone subscribes, it restores to the VideoEncoderConfiguration set in the most recent call to setVideoEncoderConfiguration. If not set, the following defaults are used:
      • Resolution: 1280 × 720 for Windows and macOS; 960 × 540 for Android and iOS;
      • Frame rate: 15 fps;
      • Bitrate: 1600 Kbps for Windows and macOS; 1000 Kbps for Android and iOS.
  • The SDK also monitors the number of subscribers to the low stream and dynamically enables or disables it based on the subscription status:
    • If no one subscribes, it is automatically disabled to save uplink bandwidth;
    • If someone subscribes, it is enabled and restored to the SimulcastStreamConfig set in the most recent call to setDualStreamMode [2/2]. If not set, the following defaults are used: resolution 480 × 272, frame rate 15 fps, bitrate 500 Kbps.
APPLICATION_SCENARIO_1V1
(2): 1-on-1 video call scenario. Suitable for one-on-one live streaming. To meet the needs of low latency and high video quality, the SDK optimizes strategies to improve video quality, first frame rendering speed, latency performance on mid- and low-end devices, and smoothness under poor network conditions.
Note: This enum value applies only to broadcaster-to-broadcaster scenarios.
APPLICATION_SCENARIO_LIVESHOW
(3): Live show scenario. Suitable for show-type scenarios, emphasizing fast rendering and high image quality. The SDK performs multiple performance optimizations, including automatically enabling audio and video frame accelerated rendering to minimize first frame delay (no need to call enableInstantMediaRendering), and enabling B-frame encoding to improve image quality and bandwidth efficiency. Even under poor network conditions or on low-end devices, it provides better video quality and playback smoothness.