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 #include <api/cpp/aosl_ares_class.h>
11
12 namespace agora {
13 namespace rtc {
14
15 class IRemoteAudioTrack;
16
22 class IRemoteAudioMixerSource : public RefCountInterface {
23 public:
24 virtual ~IRemoteAudioMixerSource() {}
25
30 virtual int addAudioTrack(agora_refptr<IRemoteAudioTrack> track, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
31
36 virtual int removeAudioTrack(agora_refptr<IRemoteAudioTrack> track, aosl_ref_t ares = AOSL_REF_INVALID) = 0;
37
41 virtual int getMixDelay() const = 0;
42 };
43
44 } // namespace rtc
45 } // namespace agora
agora::agora_refptr
Definition: AgoraRefPtr.h:44
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::IRemoteAudioMixerSource::~IRemoteAudioMixerSource
virtual ~IRemoteAudioMixerSource()
Definition: NGIAgoraRemoteAudioMixerSource.h:24
agora::rtc::IRemoteAudioMixerSource
Definition: NGIAgoraRemoteAudioMixerSource.h:22
AgoraRefPtr.h
agora::rtc::IRemoteAudioMixerSource::addAudioTrack
virtual int addAudioTrack(agora_refptr< IRemoteAudioTrack > track, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::RefCountInterface
Definition: AgoraRefPtr.h:31
agora::rtc::IRemoteAudioMixerSource::getMixDelay
virtual int getMixDelay() const =0
agora::rtc::IRemoteAudioMixerSource::removeAudioTrack
virtual int removeAudioTrack(agora_refptr< IRemoteAudioTrack > track, aosl_ref_t ares=AOSL_REF_INVALID)=0