Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
NGIAgoraRemoteAudioMixerSource.h
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::RefCountInterface
Definition AgoraRefPtr.h:31
agora::agora_refptr
Definition AgoraRefPtr.h:44
agora::rtc::IRemoteAudioMixerSource
Definition NGIAgoraRemoteAudioMixerSource.h:22
agora::rtc::IRemoteAudioMixerSource::getMixDelay
virtual int getMixDelay() const =0
agora::rtc::IRemoteAudioMixerSource::~IRemoteAudioMixerSource
virtual ~IRemoteAudioMixerSource()
Definition NGIAgoraRemoteAudioMixerSource.h:24
agora::rtc::IRemoteAudioMixerSource::removeAudioTrack
virtual int removeAudioTrack(agora_refptr< IRemoteAudioTrack > track, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::IRemoteAudioMixerSource::addAudioTrack
virtual int addAudioTrack(agora_refptr< IRemoteAudioTrack > track, aosl_ref_t ares=AOSL_REF_INVALID)=0
agora::rtc::IRemoteAudioTrack
Definition NGIAgoraAudioTrack.h:778
agora::rtc
Definition AgoraExtensions.h:5
agora
Definition AgoraAtomicOps.h:21