/kws-tutorial

Javascript examples

Primary LanguageJavaScript

Copyright © 2014 Kurento. Licensed under LGPL License.

KWS Tutorial

Kurento Web SDK demos

This project contains a set of simple applications built with KWS APIs (kws-media-api and kws-utils).

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

Installation instructions

Be sure to have installed Node.js in your system:

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

Also be sure to have installed Bower in your system:

sudo npm install -g bower

Each demo is located in a single folder (e.g. FaceOverlay, Recorder, and so on). For example, to launch the FaceOverlay demo, run:

cd FaceOverlay
bower install

An HTTP server is required for these demos. A very simple way of doing this is by means of a NodeJS server. This server can be installed as follows:

sudo npm install http-server -g

Then, in each demo folder execute this command:

http-server

Finally, open this URL in your browser: http://localhost:8080/demo.html

Take into account that demos with Generators (FaceOverlayGenerator, RecorderFilterGenerator, and so on) require co (generator based flow-control for nodejs). In these demos, the experimental JavaScript support must be enabled. In Chrome, this can done in this configuration page:

chrome://flags/#enable-javascript-harmony

Kurento

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.

Downloads

To download binary releases of Kurento components visit http://kurento.org

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.