Options
All
  • Public
  • Public/Protected
  • All
Menu

Audio configuration.

Configure audio bitrate, audio channel, audio encoding for publishing stream

Hierarchy

  • ZegoAudioConfig

Index

Constructors

Properties

Constructors

constructor

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

    Parameters

    Returns ZegoAudioConfig

Properties

bitrate

bitrate: number

Audio bitrate in kbps, default is 48 kbps. The settings before and after publishing stream can be effective

channel

Audio channel, default is Mono. The setting only take effect before publishing stream

codecID

codec ID, default is ZegoAudioCodecIDDefault. The setting only take effect before publishing stream

Generated using TypeDoc