logo
On this page

For low-end devices with lower configurations, how to choose capture configuration and encoding resolution to reduce performance overhead?

2023-12-21
Products / Plugins:Video Call
Platform / Framework:All

Low-end devices with lower configurations, in actual business scenarios, due to poor CPU and GPU performance, need to reduce the data volume during capture and transmission as much as possible, as well as reduce the complexity of data processing, to reduce the overhead in image processing in the process.

The following are several ways to reduce performance overhead.

Use lower capture configuration

  • Use lower encoding resolution.
  • Use lower frame rate.
  • Use the minimum bitrate required for the current encoding resolution and frame rate.

You can refer to the following recommended configuration:

Video FormatResolutionFrame RateBitrate
PRESET_180P180 x 32015 fps300 kbps
PRESET_270P270 x 48015 fps400 kbps
PRESET_360P360 x 64015 fps600 kbps
PRESET_540P540 x 96015 fps1200 kbps
PRESET_720P720 x 128015 fps1500 kbps
PRESET_1080P1080 x 192015 fps3000 kbps

Keep resolution selection consistent

Capture resolution and encoding resolution should be kept as consistent as possible; if they cannot be consistent, try to make the capture resolution and encoding resolution proportionally consistent.

For example: capture resolution 270 x 480, encoding resolution 180 x 320.

Consistent resolution can ensure that one less scaling is performed during encoding, achieving the purpose of saving performance.

Choose appropriate capture method

You can enable hardware encoding and decoding by default. If the machine supports hardware encoding and decoding, prioritize using hardware encoding and decoding to reduce CPU performance usage.

Previous

When mixing two streams, if one of them disconnects, will the stream mixing automatically stop?

Next

When calling the "room user kick-out interface" to kick out a nonexistent user, will it report an error?

On this page

Back to top