1.1.4 • Published 6 years ago

openvidu-insecure-react-library v1.1.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Openvidu Insecure React Library

OpenviduReact is a room videoconference component library for React.

It's written in JavaScript.

To be able to work in the browser, OpenviduReact uses openvidu-browser to communicate with the OpenVidu Server.

To use AngularOpenVidu, WebRTC support is required (Chrome, Firefox, Opera).

Table of contents

App Demo

In this demo you will see a use case of openvidu-insecure-react-library, where you can test ALL the features included in this component.

Link to the repository: https://github.com/srivasd/demo-openvidu-react

Features

  • Join a group call
  • Close group call
  • Disable camera
  • Mute microphone
  • Toggle fullscreen video

Installation

  1. Install openvidu-insecure-react-library node module through npm:

npm i openvidu-insecure-react-library --save or yarn add openvidu-insecure-react-library

  1. Import OpenviduReact to your App.js and use it in this way:
import React from 'react';
import OpenviduReact from 'openvidu-insecure-react-library';
import 'openvidu-insecure-react-library/build/css/index.css';

const App = () => (
  <OpenviduReact wsUrl={"localhost"} sessionId={"A"} participantId={1} token={"ljadskblvlifuvbklieu14857362sff45"} distribution={"default"} />
);

export default App;
NameTypeOptionalDescription
wsUrlStringrequiredWebsocket URL pointing to your OpenVidu Server
sessionIdStringrequiredAn id for the session you want to join to
participantIdStringrequiredAn id for the current participant joining the session
tokenStringoptionalToken used to identify secure sessions
distributionStringrequiredId used to select your favourite distibution
  1. Deploy OpenVidu Server

Follow the instructions in this page to deploy it with docker.

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago