im.zego.zegoexpress.constants.ZegoVideoConfigPreset

Video configuration resolution and bitrate preset enumeration.

Declared in constants/ZegoVideoConfigPreset.java

Public-Attrib Lists

  • PRESET_180P - Set the resolution to 320x180, the default is 15 fps, the code rate is 300 kbps.
  • PRESET_270P - Set the resolution to 480x270, the default is 15 fps, the code rate is 400 kbps.
  • PRESET_360P - Set the resolution to 640x360, the default is 15 fps, the code rate is 600 kbps.
  • PRESET_540P - Set the resolution to 960x540, the default is 15 fps, the code rate is 1200 kbps.
  • PRESET_720P - Set the resolution to 1280x720, the default is 15 fps, the code rate is 1500 kbps.
  • PRESET_1080P - Set the resolution to 1920x1080, the default is 15 fps, the code rate is 3000 kbps.

Public-Func Lists

Public-Static-Func Lists

Public-Attrib Docs

PRESET_180P

public PRESET_180P ()

Initial: PRESET_180P =(0)

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

PRESET_270P

public PRESET_270P ()

Initial: PRESET_270P =(1)

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

PRESET_360P

public PRESET_360P ()

Initial: PRESET_360P =(2)

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

PRESET_540P

public PRESET_540P ()

Initial: PRESET_540P =(3)

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

PRESET_720P

public PRESET_720P ()

Initial: PRESET_720P =(4)

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

PRESET_1080P

public PRESET_1080P ()

Initial: PRESET_1080P =(5)

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

Public-Func Docs

value

public int value ()

Public-Static-Func Docs

getZegoVideoConfigPreset

public ZegoVideoConfigPreset getZegoVideoConfigPreset (int value)