Agora RTC Objective-C API Reference  Refactor
AgoraMediaRecorder.h
Go to the documentation of this file.
1 //
2 // AgoraRtcEngineKit.h
3 // AgoraRtcEngineKit
4 //
5 // Copyright (c) 2018 Agora. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 
12 
13 __attribute__((visibility("default"))) @interface AgoraMediaRecorder : NSObject
14 
34 - (int)setMediaRecorderDelegate:(id<AgoraMediaRecorderDelegate> _Nullable)delegate;
35 
50 - (int)enableMainQueueDispatch:(BOOL)enabled NS_SWIFT_NAME(enableMainQueueDispatch(_:));
51 
102 - (int)startRecording:(AgoraMediaRecorderConfiguration* _Nonnull)config NS_SWIFT_NAME(startRecording(_:));
117 - (int)stopRecording NS_SWIFT_NAME(stopRecording());
118 
119 @end
AgoraMediaRecorder
Definition: AgoraMediaRecorder.h:14
AgoraMediaRecorderDelegate-p
Definition: AgoraMediaRecorderDelegate.h:12
AgoraMediaRecorderConfiguration
Audio and video stream recording configuration.
Definition: AgoraObjects.h:4210
-[AgoraMediaRecorder stopRecording]
int stopRecording()
Stops recording the audio and video stream.