Agora RTC Objective-C API Reference Refactor

NGIAgoraAudioMixerSource.h
Go to the documentation of this file.
1 //
2 // Agora SDK
3 // Created by wangqin in 2023-05.
4 // Copyright (c) 2018 Agora.io. All rights reserved.
5 //
6
7 #pragma once // NOLINT(build/header_guard)
8
9 #include "AgoraBase.h"
10 #include "AgoraRefPtr.h"
11 #include "IAgoraService.h"
12
13 namespace agora {
14 namespace rtc {
15
16 class IAudioTrack;
23 class IAudioMixerSource : public RefCountInterface {
24 public:
33 virtual int addAudioTrack(agora_refptr<IAudioTrack> track, bool is_remote) = 0;
41 virtual int removeAudioTrack(agora_refptr<IAudioTrack> track, bool is_remote) = 0;
42 };
43
44 }
45 }
AgoraBase.h
agora::agora_refptr
Definition: AgoraRefPtr.h:44
agora::rtc::IAudioMixerSource
Definition: NGIAgoraAudioMixerSource.h:23
agora::rtc::IAudioMixerSource::addAudioTrack
virtual int addAudioTrack(agora_refptr< IAudioTrack > track, bool is_remote)=0
agora
Definition: AgoraAtomicOps.h:21
agora::rtc::IAudioMixerSource::removeAudioTrack
virtual int removeAudioTrack(agora_refptr< IAudioTrack > track, bool is_remote)=0
AgoraRefPtr.h
agora::RefCountInterface
Definition: AgoraRefPtr.h:31
IAgoraService.h