Agora RTC Objective-C API Reference
Refactor
rte_sdk
interface
objc
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
10
@protocol
AgoraMediaRecorderDelegate
;
11
@class
AgoraMediaRecorderConfiguration
;
12
21
__attribute__((visibility(
"default"
)))
@interface
AgoraMediaRecorder
: NSObject
22
42
- (int)setMediaRecorderDelegate:(
id
<
AgoraMediaRecorderDelegate
> _Nullable)delegate;
43
58
- (int)enableMainQueueDispatch:(BOOL)enabled NS_SWIFT_NAME(enableMainQueueDispatch(_:));
59
110
- (int)startRecording:(
AgoraMediaRecorderConfiguration
* _Nonnull)config NS_SWIFT_NAME(startRecording(_:));
125
- (int)
stopRecording
NS_SWIFT_NAME(
stopRecording
());
126
127
@end
AgoraMediaRecorder
The media recorder class.
Definition:
AgoraMediaRecorder.h:22
AgoraMediaRecorderDelegate-p
The media recorder delegate protocol.
Definition:
AgoraMediaRecorderDelegate.h:19
AgoraMediaRecorderConfiguration
Audio and video stream recording configuration.
Definition:
AgoraObjects.h:4275
-[AgoraMediaRecorder stopRecording]
int stopRecording()
Stops recording the audio and video stream.
Generated by
1.8.20