UNPKG

react-native-whip-whep

Version:

An implementation of WHIP and WHEP protocols functionalities for React Native.

12 lines 556 B
import { PeerConnectionState } from "../ReactNativeMobileWhepClientModule"; /** * Hook that returns the current state of the WHEP peer connection. * If WHEP client was not created, it will return "unknown". */ export declare const useWhepConnectionState: () => PeerConnectionState | null; /** * Hook that returns the current state of the WHIP peer connection. * If WHIP client was not created, it will return "unknown". */ export declare const useWhipConnectionState: () => PeerConnectionState | null; //# sourceMappingURL=useConnectionState.d.ts.map