Type alias ScreenEncoderConfigurationPreset

ScreenEncoderConfigurationPreset: keyof typeof SUPPORT_SCREEN_ENCODER_CONFIG_LIST

The preset video encoder configurations for screen sharing.

You can pass the preset video encoder configurations when calling [AgoraRTC.createScreenVideoTrack]createScreenVideoTrack.

The following table lists all the preset video profiles for screen sharing.

Video Profile Resolution (Width×Height) Frame Rate (fps)
"480p" 640 × 480 5
"480p_1" 640 × 480 5
"480p_2" 640 × 480 30
"480p_3" 640 × 480 15
"720p" 1280 × 720 5
"720p_1" 1280 × 720 5
"720p_2" 1280 × 720 30
"720p_3" 1280 × 720 15
"720p_auto" 1280 × 720 30
"1080p" 1920 × 1080 5
"1080p_1" 1920 × 1080 5
"1080p_2" 1920 × 1080 30
"1080p_3" 1920 × 1080 15

"720p_auto" is only recommended to be set on Safari to ensure dynamic adjustment of the encoding resolution. For details, see the release notes.