react-native-whip-whep
Version:
An implementation of WHIP and WHEP protocols functionalities for React Native.
11 lines • 584 B
JavaScript
import { requireNativeModule } from "expo-modules-core";
export const ReceivableEvents = {
WhepPeerConnectionStateChanged: "WhepPeerConnectionStateChanged",
ReconnectionStatusChanged: "ReconnectionStatusChanged",
Warning: "Warning",
};
const nativeViewModule = requireNativeModule("ReactNativeMobileWhepClientViewModule");
/** Gives access to the current state of the WHEP peer connection. */
export const whepPeerConnectionState = nativeViewModule.whepPeerConnectionState;
export default nativeViewModule;
//# sourceMappingURL=ReactNativeMobileWhepClientViewModule.js.map