npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cvr-rui

v0.1.25

Published

The easy to use react ui for CVR(Centedge Video Rooms) for building production grade cutting-edge Video Conferencing web apps in hours, not in months or years!

Downloads

14

Readme

Getting Started with CVR react UI component

NOTE : This package won't work starting 01/12/2021!! Please don't use this package anytime after 30th November 2021.!!

As CVR now has a lot changes and advancements since the 1st release and we at centedge are not getting enough time to update this package, we have switched off the default backend infrastructure for this package. We will try to come up with a next version in a month or two with a lot of improvements. Until then, bon Voyage!!

This is the pre-baked react ui for CVR(Centedge Video Rooms). This can be integrated to any react application to provide the power of video conferencing with a pre created ui / ux along with the flexibility to configure according to your own wish / desires. Our goal is to make it highly agile without compromising on product experience as well as development speed. Now build a production grade video conferencing application in React in minutes.

Note

This react ui is running with the help of a small scale video back-end infrastructure sponsored by Centedge along with some generosity from AWS. That's why you don't need a Credit card OR an API key / secret combo OR even a Signup at Centedge to run this app! As this is a small scale setup, we don't advise anybody to build production grade video applications using this npm package which internally depends on infrastructure from Centedge. The back-end setup currently can handle 6 participants in one room including moderator and can handle 5 such rooms simultaneously! Please feel free to play around and tinker around using this package. If you want to build something serious using this and need more number of rooms or more number of participants in each room, feel free to drop us an email at [email protected] and we will be happy to create a production grade infrastructure setup for you.

Demo

https://meet.centedge.io/cf/demo-room

Configuration Details

The detailed description about all the available config options can be found out in the below link. https://www.centedge.io/cvr-rui

Example

A functional example app built using this package can be found in this github repo. https://github.com/sauravkp/demo-react-videoroom

A step by step blog post to understand the above example app can be found here. https://www.centedge.io/post/building-a-webrtc-video-conferencing-app-in-one-hour

Installation

npm i cvr-rui or yarn add cvr-rui

API

import ParticipantPage from 'cvr-rui';

Usage

import "./App.css";
import ParticipantPage from "cvr-rui";



function MainApp() {

  const callEnded = () =>{
        console.log('hey, the call has been ended!!');
        // Then do something here
  }

  const callStarted = () =>{
      console.log('hey, the call has been started!!');
      // // Then do something here
  }

  const webVideoConfig = {
    theme:'light', // light or dark
    joinButtonColor:'secondary', // primary or secondary or disabled or any othe color property that material ui accepts
    roomName:'my-unique-room', // your unique room name
    userName:'admin-user', // your unique user name
    participantType:'moderator', // in case a admin user / moderator else leave it blank
    adminApprovalRequiredToJoinRoom:false, // this option can be enabled to let other users seek the approval of this admin user before joining room
    screenShot:true,// make it false if you dont want to enable screenshot capture option of the pinned user on the room, valid for moderator only
    docUpload:true,// make it false if you dont want to enable document request by moderator to the pinned user on the room, valid for moderator only
    screenSharing:true, // make it false if you dont want to enable screen sharing on the room
    chatOption:true, // make it false if you don't want to enable chat option in the room
    chatPushAPI:'', // yet to be implemented - api to store the chat messages
    recordingPushAPI:'', //yet to be implemented - api to store the recording of this room if enabled, currently recording is disabled by default!
    screenShotUploadURL:'', //url to upload the screenshot taken
    documentUploadURL:'', // url to upload documents in case your application needs users to end documents as and when asked by the admin user / moderator
    apiAccessAuthToken:'', // api access token to access the url
    callStartFunction:callStarted,
    callEndFunction:callEnded,
    
  }
  return (
    <div className="App">
      <ParticipantPage config={webVideoConfig} />
    </div>
  );
}

export default MainApp;

That's it!! With this you wil get a join button which you can integrate in any page of your app. Once you click on the join button, magic happens!!

Package Owner