Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ZegoAudioSourceType

Audio capture source type.

Index

Enumeration members

Custom

Custom: = 1

Use custom audio capture, refer to [enableCustomAudioIO] or [setAudioSource].

Default

Default: = 0

Default audio capture source (the main channel uses custom audio capture by default; the aux channel uses the same sound as main channel by default).

MainPublishChannel

MainPublishChannel: = 5

Using main channel as audio source. Ineffective when used in main channel. This audio source type can only be used in [setAudioSource] interface, has no effect when used in [enableCustomAudioIO] interface.

MediaPlayer

MediaPlayer: = 2

Use media player as audio source, only support aux channel.

Microphone

Microphone: = 4

Using microphone as audio source. This audio source type can only be used in [setAudioSource] interface, has no effect when used in [enableCustomAudioIO] interface.

None

None: = 3

No audio source. This audio source type can only be used in [setAudioSource] interface, has no effect when used in [enableCustomAudioIO] interface.

ScreenCapture

ScreenCapture: = 6

Using screen capture as audio source. Typically used in mobile screen sharing scenarios. This audio source type can only be used in [setAudioSource] interface, has no effect when used in [enableCustomAudioIO] interface.

Generated using TypeDoc