AUDIO_TRACK_TYPE
Type of custom audio capture track.
Enumerations
- AUDIO_TRACK_MIXABLE
- 0: Mixable audio track. Supports mixing with other audio streams (e.g., microphone audio) before playing locally or publishing to the channel. Higher latency compared to non-mixable tracks.
- AUDIO_TRACK_DIRECT
- 1: Non-mixable audio track. Replaces microphone capture and does not support mixing with other audio streams. Lower latency compared to mixable tracks.
Note: If
AUDIO_TRACK_DIRECTis specified, you must setpublishMicrophoneTrackto false in ChannelMediaOptions when calling JoinChannel [2/2]; otherwise, joining the channel fails and returns error code -2.