node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

ucengine

Node-UCEngine

Nodejs client for UC Engine.

Requisites

  • nodejs >= 0.4

Test

Launch the demo datas on the server

test/demo.js use this data and do :

  • √ Everybody connect
  • √ Everybody join the meeting
  • √ Events

Features

  • √ REST client with auth
  • √ Basic method : time, info
  • √ User : presence, join meeting
  • √ Batch creation of users
  • √ Event
  • _ 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");