mirror of
https://github.com/arthenica/ffmpeg-kit.git
synced 2026-06-06 20:27:34 +00:00
implement requiresMainQueueSetup method on react-native, fixes #199
This commit is contained in:
@@ -86,6 +86,8 @@ RCT_EXPORT_MODULE(FFmpegKitReactNativeModule);
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
|
||||
- (NSArray<NSString*>*)supportedEvents {
|
||||
NSMutableArray *array = [NSMutableArray array];
|
||||
|
||||
@@ -628,6 +630,10 @@ RCT_EXPORT_METHOD(getExternalLibraries:(RCTPromiseResolveBlock)resolve rejecter:
|
||||
statisticsEnabled = false;
|
||||
}
|
||||
|
||||
+ (BOOL)requiresMainQueueSetup {
|
||||
return NO;
|
||||
}
|
||||
|
||||
+ (NSDictionary*)toSessionDictionary:(id<Session>) session {
|
||||
if (session != nil) {
|
||||
NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] init];
|
||||
|
||||
Reference in New Issue
Block a user