Agora RTC Objective-C API Reference
Refactor
|
Inherits RefCountInterface.
Public Member Functions | |
virtual int | addAudioTrack (agora_refptr< IAudioTrack > track, bool is_remote, aosl_ref_t ares=AOSL_REF_INVALID)=0 |
virtual int | removeAudioTrack (agora_refptr< IAudioTrack > track, bool is_remote, aosl_ref_t ares=AOSL_REF_INVALID)=0 |
The IAudioMixerSource class abstracts a multi-in-multi-out audio source which receives audio streams from multiple local or remote audio tracks and generate mixed audio stream in user defined output format. When only one audio track is added to the mixer, it simply forwards the incoming audio frames to its sinks.
|
pure virtual |
Add audio track for mixing.
id | The unique id of the stream. |
track | The instance of the audio track that you want mixer to receive its audio stream. |
|
pure virtual |
Remove the audio track.
track | The instance of the audio track that you want to remove from the mixer. |
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |