react-native-whip-whep
Version:
An implementation of WHIP and WHEP protocols functionalities for React Native.
32 lines (31 loc) • 848 B
TypeScript
import { ConfigPlugin } from "@expo/config-plugins";
import { WhipWhepPluginOptions } from './types';
/**
* Main WHIP/WHEP Expo config plugin.
*
* This plugin configures both iOS and Android platforms for:
* - Screen sharing (iOS and Android)
* - Picture-in-Picture support
*
* Usage in app.json/app.config.js:
* {
* "plugins": [
* [
* "react-native-whip-whep",
* {
* "ios": {
* "enableScreensharing": true,
* "supportsPictureInPicture": true,
* "appGroupContainerId": "group.com.example.myapp" // optional
* },
* "android": {
* "enableScreensharing": true,
* "supportsPictureInPicture": true
* }
* }
* ]
* ]
* }
*/
declare const withWhipWhep: ConfigPlugin<WhipWhepPluginOptions>;
export default withWhipWhep;