1.3.2 • Published 2 years ago
peerjs-react-native v1.3.2
PeerJS React Native
peerjs-react-native is a modified version of PeerJS to allow for use within a React Native application as opposed to a web browser.
PeerJS provides a complete, configurable, and easy-to-use peer-to-peer API built on top of WebRTC, supporting both data channels and media streams.
Setup
Include the library
with npm:
npm install peerjs-react-native
with yarn:
yarn add peerjs-react-native
// The usage -
import Peer from 'peerjs-react-native';
// Use the Peer object as you would via normal PeerJS.
// See documentation links below for reference.
Links
Documentation / API Reference
Official PeerJS GitHub
Official PeerJS Changelog
Contributors
This project exists thanks to all the people who contribute to the official PeerJS project.
License
PeerJS is licensed under the MIT License.
1.3.2
2 years ago