ZegoAudioConfig

Audio configuration.

Declared in ZegoExpressDefines.h

Includes

Property Lists

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

Public-Static-Func Lists

Public-Func Lists

  • initWithPreset: - Create a audio configuration with preset enumeration values.

Property Docs

bitrate

Audio bitrate in kbps, default is 48 kbps.

channel

Audio channel, default is Mono.

codecID

codec ID, default is ZegoAudioCodecIDDefault

Public-Static-Func Docs

defaultConfig

+ (instancetype)defaultConfig:;

Create a default audio configuration.

configWithPreset:

+ (instancetype)configWithPreset:(ZegoAudioConfigPreset) preset;

Create a audio configuration with preset enumeration values.

Public-Func Docs

initWithPreset:

- (instancetype)initWithPreset:(ZegoAudioConfigPreset) preset;

Create a audio configuration with preset enumeration values.