Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
(int) | - startRecording:config: |
(int) | - stopRecording: |
Class Methods | |
(instancetype _Nonnull) | + sharedMediaRecorderWithRtcEngine: |
(void) | + destroy |
+ (instancetype _Nonnull) sharedMediaRecorderWithRtcEngine: | (AgoraRtcEngineKit *_Nonnull) | engine |
Initializes the AgoraMediaRecorder object.
engine | AgoraRtcEngineKit object. |
delegate | AgoraMediaRecorderDelegate. |
- (int) setMediaRecorderDelegate: | (AgoraRtcConnection *_Nonnull) | connection | |
delegate: | (id< AgoraMediaRecorderDelegate > _Nullable) | delegate | |
+ (void) destroy |
Destroys the RtcEngine instance and releases all resources used by the SDK.
- (int) startRecording: | (AgoraRtcConnection *_Nonnull) | connection | |
config: | (AgoraMediaRecorderConfiguration *_Nonnull) | config | |
Start recording.
config | AgoraMediaRecorderConfiguration object. |
- (int) stopRecording: | (AgoraRtcConnection *_Nonnull) | connection |
Stop recording.