Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

athoune/node-ucengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-UCEngine

Nodejs client for UC Engine.

Requisites

  • nodejs >= 0.4

Test

Launch the demo datas on the server. In ucengine folder :

$ make run
1> demo:start().

Install test dependancies :

$ sudo npm install --global nodeunit
$ npm install chainsaw

Launch test, in node-ucengine folder :

$ npm install --global nodeunit
$ npm install chainsaw

$ nodeunit test/test.js

Features

  • √ REST client with auth
  • √ Basic method : time, info
  • √ User : presence, join meeting
  • √ Batch creation of users
  • √ Event
  • √ Statistics
  • _ Multicore for more violence

Model

A UCEngine connect to a server. It contains User wich join Meeting. You handle something like that :

var uc = new Ucengine({host:'localhost', port:5280});
// [...] connecting users and meetings
uc.users["robert@demo.com"].meetings["demo"].addListener(
	'chat.message.new', function(msg) {
		console.log("Robert got a message in the demo meeting", msg);
	});
uc.users["robert@demo.com"].meetings["demo"].chat("Bonjour monde", "fr");

About

ucengine client for nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published