Agora Java API Reference for Android

Public Member Functions | List of all members
agora::rtc::IMediaRecorder2 Class Referenceabstract
Inheritance diagram for agora::rtc::IMediaRecorder2:

## Public Member Functions
virtual int | setRecorderConfig (const media::MediaRecorderConfiguration &config, aosl_ref_t ares=AOSL_REF_INVALID)=0
virtual int | setEnabledRecordeRtcEncodedSource (bool enable, aosl_ref_t ares=AOSL_REF_INVALID)=0
virtual int | setVideoTrack (agora_refptr< IVideoTrack > track, aosl_ref_t ares=AOSL_REF_INVALID)=0
virtual int | removeVideoTrack (aosl_ref_t ares=AOSL_REF_INVALID)=0
virtual int | setAudioTrack (agora_refptr< IAudioTrack > track, aosl_ref_t ares=AOSL_REF_INVALID)=0
virtual int | removeAudioTrack (aosl_ref_t ares=AOSL_REF_INVALID)=0
virtual int | startRecording (aosl_ref_t ares=AOSL_REF_INVALID)=0
virtual int | stopRecording (aosl_ref_t ares=AOSL_REF_INVALID)=0
virtual int | setRtcConnection (agora_refptr< rtc::IRtcConnection > connection, aosl_ref_t ares=AOSL_REF_INVALID)=0
Public Member Functions inherited from agora::rtc::IMediaRecorder
virtual int | setMediaRecorderObserver (media::IMediaRecorderObserver *callback)=0
| Registers the `IMediaRecorderObserver` observer. More...
virtual int | startRecording (const media::MediaRecorderConfiguration &config)=0
| Starts audio and video stream recording. More...
virtual int | stopRecording ()=0
| Stops audio and video stream recording. More...
Public Member Functions inherited from agora::RefCountInterface
virtual void | AddRef () const =0
virtual RefCountReleaseStatus | Release () const =0
virtual bool | HasOneRef () const =0