Agora C++ API Reference for All Platforms
|
Inherits agora::RefCountInterface.
Inherited by agora::rtc::IRemoteAudioMixerSourceEx.
Public Member Functions | |
virtual | ~IRemoteAudioMixerSource () |
virtual int | addAudioTrack (agora_refptr< IRemoteAudioTrack > track)=0 |
virtual int | removeAudioTrack (agora_refptr< IRemoteAudioTrack > track)=0 |
virtual int | getMixDelay () const =0 |
![]() | |
virtual void | AddRef () const =0 |
virtual RefCountReleaseStatus | Release () const =0 |
virtual bool | HasOneRef () const =0 |
Additional Inherited Members | |
![]() | |
virtual | ~RefCountInterface () |
The IRemoteAudioMixerSource class abstracts a multi-in-single-out audio source which receives audio streams from multiple remote audio tracks and generate mixed audio stream in user defined output format.
|
inlinevirtual |
|
pure virtual |
Add a audio track for mixing. Automatically starts mixing if add audio track
track | The instance of the audio track that you want mixer to receive its audio stream. |
|
pure virtual |
Remove a audio track for mixing. Automatically stops the mixed stream if all audio tracks are removed
track | The instance of the audio track that you want to remove from the mixer. |
|
pure virtual |
Gets the delay time for mix.