Skip to content

AbdullahZN/kurento-room-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kurento-room-node

Kurento Room Server in NodeJS

Installation

Install package from npm or yarn

> npm install kurento-room-server || yarn add kurento-room-server

Usage

The server is a simple module designed to work on top of ExpressJS, and requires loading a JSON config file.

Client side implementation resides in static/ folder

const path = require('path');
const express = require('express');
const kurentoServer = require('kurento-room-server');
const config = require('./main/kurentoConfig.json');

const app = express();
const roomManager = kurentoServer(app, config);
app.use(express.static(path.join(__dirname, './dist')));

File structure

NodeJS Server
/
  keys/     : self signed certificates
  main/     : kurento related modules
  main.js   : basic kurento server implementation
VueJS Client
static/
  build/           : webpack scripts
  config/          : webpack config
  src/
    kurentoRoom.js : kurento room client

Run demo

The project has three npm scripts :

setup, which installs every dependencies

npm run setup

dev, which runs app with webpack

npm run dev

demo, which runs previous steps

npm run demo

About

Kurento Room Implementation in NodeJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors