ReplayKit Launcher

pub package

A flutter plugin of the launcher used to open RPSystemBroadcastPickerView for iOS

Note: Only support iOS

iOS

Shared preferences with App Group: Shared preference supporting iOS App Group capability (using -[NSUserDefaults initWithSuiteName:])

Android

If you need to implement screen capture on Android, I have also developed a helpful plugin:

MediaProjection Creator: A flutter plugin of the creator used to create MediaProjection instance (with requesting permission) for Android

Usage

To use this plugin, add replay_kit_launcher as a dependency in your pubspec.yaml file.

Example

/// Please fill in the name of the Broadcast Extension in your project, which is the file name of the `.appex` product
/// [extensionName] is your `BroadCast Upload Extension` target's `Product Name`,
/// or to be precise, the file name of the `.appex` product of the extension
ReplayKitLauncher.launchReplayKitBroadcast('BroadcastDemoExtension');

Please see the example app of this plugin for a full example.

Another practical demo

https://github.com/zegoim/zego-express-example-screen-capture-flutter

This demo implements screen live broadcast on iOS/Android by using the ZEGO Express Audio and Video Flutter SDK

Contributing

Everyone is welcome to contribute code via pull requests, to help people asking for help, to add to our documentation, or to help out in any other way.

Libraries

replay_kit_launcher