Skip to main content

Video Configuration Settings

Before initiating or answering a call, invoke setVideoConfig to set the resolution, frame rate, and bitrate for RTC. The default values are profile_480_640_high, 30 FPS, and front camera.

  • Sample code:

    RCCallVideoConfig videoConfig = RCCallVideoConfig.create(
    /// Set video resolution to 1080p, 30 fps, and bitrate between 800 ~ 8000 kbps
    profile: RCCallVideoProfile.profile_1080_1920_high,
    );
    engine?.setVideoConfig(videoConfig);