support flutter gstreamer player for iOS

This commit is contained in:
hpdragon
2022-12-09 01:02:56 +07:00
parent 9fd8c9f2da
commit af6f0e132c
56 changed files with 2839 additions and 81 deletions
@@ -0,0 +1,15 @@
#import "FlutterGstreamerPlayerPlugin.h"
#if __has_include(<flutter_gstreamer_player/flutter_gstreamer_player-Swift.h>)
#import <flutter_gstreamer_player/flutter_gstreamer_player-Swift.h>
#else
// Support project import fallback if the generated compatibility header
// is not copied when this plugin is created as a library.
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
#import "flutter_gstreamer_player-Swift.h"
#endif
@implementation FlutterGstreamerPlayerPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[SwiftFlutterGstreamerPlayerPlugin registerWithRegistrar:registrar];
}
@end