Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


4.3.22 • Public • Published

Copyright © 2013-2014 Kurento. Licensed under LGPL License.

KWS RPC Builder for Node.js and browsers

Kurento Web SDK RPC Builder

The Kurento Web SDK RPC Builer project is a small RPC library for browser and Node.js. Currently only JsonRPC is supported, eventually XML-RPC will be added in the future.

The source code of this project can be cloned from the GitHub repository.

Installation instructions

Be sure to have installed the Node.js tools in your system. It's heavily encouraged to use the latest Node.js and NPM versions from the Node.js project PPA instead of the packages available on the oficial Ubuntu repositories, since due to the fast-moving Node.js community and environment these last ones get easily outdated and can lead to incompatibility errors:

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs nodejs-legacy

To install the library, it's recomended to do that from the NPM repository :

npm install kws-rpc-builder

Alternatively, you can download the code using git and install manually its dependencies:

git clone
cd kws-rpc-builder
npm install


To build the browser version of the library you'll only need to exec the grunt task runner and they will be generated on the dist folder. Alternatively, if you don't have it globally installed, you can run a local copy by executing


How to test

Tests are autonomous and based on nodeunit testing framework. Their only requirement is to exec previously npm install to have installed all the dev dependencies.


To exec test in Node.js, you only need to exec npm test, that will launch all the tests automatically.


What is Kurento

Kurento provides an open platform for video processing and streaming based on standards.

This platform has several APIs and components which provide solutions to the requirements of multimedia content application developers. These include

  • Kurento Media Server (KMS). A full featured media server providing the capability to create and manage dynamic multimedia pipelines.
  • Kurento Media Framework (KMF). A Java server-side API providing the required abstractions for creating applications that manage multimedia content, calls and conferences involving audio, video and data information.
  • Kurento Web SDK (KWS). A client-side HTML5 and Javascript SDK for accessing KMF capabilities
  • Kurento Android SDK (KAS). A Java and native SDK allowing easy integration of KMF into any kind of Android application.


To download binary releases of Kurento components visit


The source code of this project can be cloned from the GitHub Repository. Code for other Kurento projects can be found in the GitHub Kurento Group.

News and Website

Information about Kurento can be found on our website. Follow us on Twitter @kurentoms.


npm i kws-rpc-builder

Downloadsweekly downloads





LGPL 2.1




last publish


  • avatar
Report a vulnerability