On this page

ZegoVideoConfigPreset

ZegoVideoConfigPreset

Video configuration resolution and bitrate preset enumeration. The preset resolutions are adapted for mobile and desktop. On mobile, height is longer than width, and desktop is the opposite. For example, 1080p is actually 1080(w) x 1920(h) on mobile and 1920(w) x 1080(h) on desktop.

Declared in constants/ZegoVideoConfigPreset.java

Properties

ZegoVideoConfigPreset180P

ZegoVideoConfigPreset180P
ZegoVideoConfigPreset180P=(0)

Set the resolution to 320x180, the default is 15 fps, the code rate is 300 kbps

ZegoVideoConfigPreset270P

ZegoVideoConfigPreset270P
ZegoVideoConfigPreset270P=(1)

Set the resolution to 480x270, the default is 15 fps, the code rate is 400 kbps

ZegoVideoConfigPreset360P

ZegoVideoConfigPreset360P
ZegoVideoConfigPreset360P=(2)

Set the resolution to 640x360, the default is 15 fps, the code rate is 600 kbps

ZegoVideoConfigPreset540P

ZegoVideoConfigPreset540P
ZegoVideoConfigPreset540P=(3)

Set the resolution to 960x540, the default is 15 fps, the code rate is 1200 kbps

ZegoVideoConfigPreset720P

ZegoVideoConfigPreset720P
ZegoVideoConfigPreset720P=(4)

Set the resolution to 1280x720, the default is 15 fps, the code rate is 1500 kbps

ZegoVideoConfigPreset1080P

ZegoVideoConfigPreset1080P
ZegoVideoConfigPreset1080P=(5)

Set the resolution to 1920x1080, the default is 15 fps, the code rate is 3000 kbps

Previous

zegovideoconfigpreference

Next

zegovideodenoisemode

On this page

Back to top