im.zego.zegoexpress.entity.ZegoAudioConfig

Audio configuration.

Declared in entity/ZegoAudioConfig.java

Public-Attrib Lists

  • bitrate - Audio bitrate in kbps, default is 48 kbps.
  • channel - Audio channel, default is Mono.
  • codecID - codec ID, default is ZegoAudioCodecIDDefault

Public-Func Lists

  • ZegoAudioConfig - Create a default audio configuration (ZegoAudioConfigPresetStandardQuality, 48 kbps, Mono, ZegoAudioCodecIDDefault)
  • ZegoAudioConfig - Create a audio configuration with preset enumeration values.

Public-Attrib Docs

bitrate

public int bitrate ()

Audio bitrate in kbps, default is 48 kbps.

channel

public ZegoAudioChannel channel ()

Audio channel, default is Mono.

codecID

public ZegoAudioCodecID codecID ()

codec ID, default is ZegoAudioCodecIDDefault

Public-Func Docs

ZegoAudioConfig

public ZegoAudioConfig ()

Create a default audio configuration (ZegoAudioConfigPresetStandardQuality, 48 kbps, Mono, ZegoAudioCodecIDDefault)

ZegoAudioConfig

public ZegoAudioConfig (ZegoAudioConfigPreset presetType)

Create a audio configuration with preset enumeration values.