AudioTrackType
Type of custom audio capture track.
Enumerations
- AudioTrackMixable
- 0: Mixable audio track. Supports mixing with other audio streams (e.g., microphone-captured audio) before local playback or publishing to the channel. Has higher latency compared to non-mixable audio tracks.
- AudioTrackDirect
- 1: Non-mixable audio track. Replaces microphone capture and does not support mixing with other audio streams. Has lower latency compared to mixable audio tracks.
Note: If
AudioTrackDirectis specified,publishMicrophoneTrackin ChannelMediaOptions must be set to false when calling joinChannel, otherwise joining the channel will fail and return error code -2.