2021-10-10 08:23:59 +08:00
|
|
|
//
|
|
|
|
// Created by 范大德 on 2021/10/9.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
2021-10-11 17:49:05 +08:00
|
|
|
#import <Cordova/CDVCommandDelegate.h>
|
2021-10-10 08:23:59 +08:00
|
|
|
|
|
|
|
@protocol CDVCommandDelegate;
|
|
|
|
|
|
|
|
|
|
|
|
@interface SGRecordOptions : NSObject
|
|
|
|
|
|
|
|
@property (nonatomic, weak) id <CDVCommandDelegate> commandDelegate;
|
|
|
|
@property (strong) NSString* callbackId;
|
2021-10-11 16:32:39 +08:00
|
|
|
@property (assign) NSInteger frameRate;
|
|
|
|
@property (assign) NSInteger bitRate;
|
|
|
|
@property (assign) NSInteger width;
|
|
|
|
@property (assign) NSInteger height;
|
|
|
|
@property (assign) NSInteger limit;// 录制视频最短时间
|
|
|
|
@property (assign) NSInteger duration;
|
2021-10-10 08:23:59 +08:00
|
|
|
|
|
|
|
+ (instancetype) createFromArguments:(CDVInvokedUrlCommand*)command;
|
|
|
|
@end
|
|
|
|
|