diff --git a/react-native/ios/FFmpegKitReactNativeModule.m b/react-native/ios/FFmpegKitReactNativeModule.m index 7861877..d64a1ac 100644 --- a/react-native/ios/FFmpegKitReactNativeModule.m +++ b/react-native/ios/FFmpegKitReactNativeModule.m @@ -86,6 +86,8 @@ RCT_EXPORT_MODULE(FFmpegKitReactNativeModule); return self; } + + - (NSArray*)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 { if (session != nil) { NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] init];