Skip to content

srivasd/demo-openvidu-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Openvidu React Demo App

screencast

screencast

Installation

git clone https://github.com/srivasd/demo-openvidu-react.git

npm install

npm start

Usage

You can find Openvidu Insecure React Library here (https://github.com/srivasd/openvidu-insecure-react-library)

openvidu-server and Kurento Media Server must be up and running in your development machine. The easiest way is running this Docker container which wraps both of them (you will need Docker CE):

docker run -p 8443:8443 --rm -e KMS_STUN_IP=stun.l.google.com -e KMS_STUN_PORT=19302 -e openvidu.secret=MY_SECRET openvidu/openvidu-server-kms

In App.js:

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;

About

A demo app that uses an openvidu react library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published