| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 | 
							- //
 
- //  KSVideoRecordManager.h
 
- //  TeacherDaya
 
- //
 
- //  Created by Kyle on 2021/8/16.
 
- //  Copyright © 2021 DayaMusic. All rights reserved.
 
- //
 
- #import <Foundation/Foundation.h>
 
- typedef void(^KSVideoRecordCallback)(BOOL isSuccess, NSString * _Nullable message);
 
- NS_ASSUME_NONNULL_BEGIN
 
- @interface KSVideoRecordManager : NSObject
 
- @property (nonatomic, strong) NSURL *bgAudioUrl;
 
- @property (nonatomic, strong) NSURL *audioUrl;
 
- @property (nonatomic, assign) BOOL ignoreAudio;
 
- @property (nonatomic, assign) BOOL skipSaveRecord;
 
- - (BOOL)getSessionStatusisActive;
 
- - (instancetype)initSessionRecordCallback:(KSVideoRecordCallback)callback;
 
- - (void)configSessiondisplayInView:(UIView *)containerView;
 
- - (void)removeDisplay;
 
- - (void)stopSession;
 
- - (void)resetSession;
 
- - (void)startRecord;
 
- - (void)stopRecord;
 
- - (void)uploadRecordVideoSuccess:(void(^)(NSString *videoUrl))success failure:(void(^)(NSString *desc))faliure;
 
- @end
 
- NS_ASSUME_NONNULL_END
 
 
  |