React WebRTC - PeerData
Table of Content
ABOUT
React wrapper for PeerData library for files, media streaming/sharing using WebRTC.
Contributors:
Want to contribute ? Feel free to send pull requests!
Have problems, bugs, feature ideas? We are using the github issue tracker to manage them.
HOW TO USE
Getting started
Installation
npm install react-peer-data
Examples
Use PeerDataProvider
to instantiate and pass peerData object down the component tree
;;; ; ReactDOM;
You can access peerData context value in two ways:
Hook
;; { const peerData = ; ; return null; // @TODO: render participants} ;
HOC
;; { // follow example from above return null; // @TODO: render participants} App;
License
This package is released under the MIT license. See the complete license in the package: