Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
agora_media_recorder_i.h
1#pragma once
2#include "IAgoraMediaRecorder2.h"
3
4namespace agora {
5namespace rtc {
6
7 class IMediaRecorder2Ex : public IMediaRecorder2 {
8 public:
9 IMediaRecorder2Ex() = default;
10 virtual ~IMediaRecorder2Ex() {}
11
12 virtual int setRecorderConfigLLApiInternal(const media::MediaRecorderConfiguration& config) = 0;
13 virtual int setVideoTrackLLApiInternal(agora_refptr<IVideoTrack> track) = 0;
14 virtual int setEnabledRecordeRtcEncodedSourceLLApiInternal(bool enable) = 0;
15 virtual int removeVideoTrackLLApiInternal() = 0;
16 virtual int setAudioTrackLLApiInternal(agora_refptr<IAudioTrack> track) = 0;
17 virtual int removeAudioTrackLLApiInternal() = 0;
18
19 virtual int startRecordingLLApiInternal() = 0;
20 virtual int stopRecordingLLApiInternal() = 0;
21
22 virtual int setRtcConnectionLLApiInternal(agora_refptr<rtc::IRtcConnection> connection) = 0;
23
24};
25
26} // namespace rtc
27} // namespace agora
agora::agora_refptr
Definition AgoraRefPtr.h:44
agora::rtc::IMediaRecorder2Ex::setVideoTrackLLApiInternal
virtual int setVideoTrackLLApiInternal(agora_refptr< IVideoTrack > track)=0
agora::rtc::IMediaRecorder2Ex::IMediaRecorder2Ex
IMediaRecorder2Ex()=default
agora::rtc::IMediaRecorder2Ex::~IMediaRecorder2Ex
virtual ~IMediaRecorder2Ex()
Definition agora_media_recorder_i.h:10
agora::rtc::IMediaRecorder2Ex::stopRecordingLLApiInternal
virtual int stopRecordingLLApiInternal()=0
agora::rtc::IMediaRecorder2Ex::setRecorderConfigLLApiInternal
virtual int setRecorderConfigLLApiInternal(const media::MediaRecorderConfiguration &config)=0
agora::rtc::IMediaRecorder2Ex::removeAudioTrackLLApiInternal
virtual int removeAudioTrackLLApiInternal()=0
agora::rtc::IMediaRecorder2Ex::removeVideoTrackLLApiInternal
virtual int removeVideoTrackLLApiInternal()=0
agora::rtc::IMediaRecorder2Ex::startRecordingLLApiInternal
virtual int startRecordingLLApiInternal()=0
agora::rtc::IMediaRecorder2Ex::setEnabledRecordeRtcEncodedSourceLLApiInternal
virtual int setEnabledRecordeRtcEncodedSourceLLApiInternal(bool enable)=0
agora::rtc::IMediaRecorder2Ex::setRtcConnectionLLApiInternal
virtual int setRtcConnectionLLApiInternal(agora_refptr< rtc::IRtcConnection > connection)=0
agora::rtc::IMediaRecorder2Ex::setAudioTrackLLApiInternal
virtual int setAudioTrackLLApiInternal(agora_refptr< IAudioTrack > track)=0
agora::rtc::IMediaRecorder2
Definition IAgoraMediaRecorder2.h:19
agora::rtc
Definition AgoraExtensions.h:5
agora
Definition AgoraAtomicOps.h:21
agora::media::MediaRecorderConfiguration
Configuration for audio and video stream recording.
Definition AgoraMediaBase.h:2355