1.11.22 • Published 4 years ago

react-rtc-real v1.11.22

Weekly downloads
194
License
MIT
Repository
-
Last release
4 years ago

ReactRTC-beta is a JS library that brings the real-time communication capabilities of WebRTC into React applications.

ReactRTC simplifies the implementation of WebRTC by providing developers with a customizable react component and signalling server module for the back-end.

  • Live video & audio streaming capabilities.
  • GUI interface providing key user functionality.
  • Signalling server module utilizing websockets.
  • Multi-user support through the implementation of server side rooms.

ReactRTC runs on React^16.11.0 and requires the following dependencies to operate.

Import the <RTCMesh /> component into your React application to begin.

To set the URL of the signaling server pass the URL into props like so. <RTCMesh URL=*url goes here* />

URL must be a websocket, pre-pended with wss:// Import Demo _*_*_*_*_*_*_*_

To set up Signaling Server to find remote client, import to your server.js file. There should only be 3 lines of code added to your server.js file, numbered below. (assuming Node/Express is being used):

Find your server instance, which will be invoking the http.createServer(), for example:

Create the Signal Server instance and connect to it:

Make sure your server instance is listening for the PORT number, like so:

Choose your preferred tech for exposing a PORT for Signal Server.

Using ngrok: https://ngrok.com/download

Use the same PORT number and call in terminal (ie. 3000):

Using LocalTunnel: npm install -g localtunnel

Signal Demo

Use Gif

  • Michael Romero
  • Joseph Wolensky
  • Diane Wu
  • Edwin Lin

This project is licensed under the MIT License - see the LICENSE file for details

1.11.21

4 years ago

1.11.22

4 years ago

1.11.20

4 years ago

1.11.19

4 years ago

1.11.18

4 years ago

1.11.16

4 years ago

1.11.17

4 years ago

1.11.15

4 years ago

1.11.14

4 years ago

1.11.13

4 years ago

1.11.12

4 years ago

1.11.11

4 years ago

1.11.10

4 years ago

1.11.9

4 years ago

1.11.8

4 years ago

1.11.7

4 years ago

1.11.6

4 years ago

1.11.5

4 years ago

1.11.4

4 years ago

1.11.3

4 years ago

1.11.2

4 years ago

1.11.1

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.5.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.31.0

4 years ago

0.30.0

4 years ago

0.29.0

4 years ago

0.28.0

4 years ago

0.27.0

4 years ago

0.26.0

4 years ago

0.25.0

4 years ago

0.24.0

4 years ago

0.23.0

4 years ago

0.21.0

4 years ago

0.20.0

4 years ago

0.19.0

4 years ago

0.18.0

4 years ago

0.16.0

4 years ago

0.15.0

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago