Agora RTC Objective-C API Reference Refactor

NGIAgoraRemoteAudioMixerSource.h
Go to the documentation of this file.
1 //
2 // Agora SDK
3 //
4 // Copyright (c) 2020 Agora.io. All rights reserved.
5 //
6
7 #pragma once
8
9 #include "AgoraRefPtr.h"
10
11 namespace agora {
12 namespace rtc {
13
14 class IRemoteAudioTrack;
15
21 class IRemoteAudioMixerSource : public RefCountInterface {
22 public:
23 virtual ~IRemoteAudioMixerSource() {}
24
29 virtual int addAudioTrack(agora_refptr<IRemoteAudioTrack> track) = 0;
30
35 virtual int removeAudioTrack(agora_refptr<IRemoteAudioTrack> track) = 0;
36
40 virtual int getMixDelay() const = 0;
41 };
42
43 } // namespace rtc
44 } // namespace agora
agora::agora_refptr
Definition: AgoraRefPtr.h:44
agora::rtc::IRemoteAudioMixerSource::removeAudioTrack
virtual int removeAudioTrack(agora_refptr< IRemoteAudioTrack > track)=0
agora::rtc::IRemoteAudioMixerSource::addAudioTrack
virtual int addAudioTrack(agora_refptr< IRemoteAudioTrack > track)=0
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::IRemoteAudioMixerSource::~IRemoteAudioMixerSource
virtual ~IRemoteAudioMixerSource()
Definition: NGIAgoraRemoteAudioMixerSource.h:23
agora::rtc::IRemoteAudioMixerSource
Definition: NGIAgoraRemoteAudioMixerSource.h:21
AgoraRefPtr.h
agora::RefCountInterface
Definition: AgoraRefPtr.h:31
agora::rtc::IRemoteAudioMixerSource::getMixDelay
virtual int getMixDelay() const =0