AudioTrackType
Audio track type.
Enumerations
- AUDIO_TRACK_MIXABLE
- (0): Mixable audio track. Supports mixing with other audio streams (such as audio captured via microphone), and can be locally played or published to the channel after mixing. Has higher latency than direct audio track.
- AUDIO_TRACK_DIRECT
- (1): Direct audio track. Replaces audio streams captured via microphone, and does not support mixing with other audio streams. Has lower latency than mixable audio track.
Note: If this parameter is set to
AUDIO_TRACK_DIRECT, you must setpublishMicrophoneTrackin ChannelMediaOptions to false when callingjoinChannelto join the channel. Otherwise, the join will fail and return error code -2.