GithubHelp home page GithubHelp logo

kurento-tutorial-js's Introduction

Copyright © 2014 Kurento. Licensed under LGPL License.

Kurento JavaScript Tutorial

Kurento Client JavaScript demos

This project contains a set of simple applications built with JavaScript Kurento Client APIs (kurento-client-js and kurento-utils-js).

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:

curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y 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. kurento-hello-world, kurento-magic-mirror, and so on). For example, to launch the kurento-hello-world demo, run:

cd kurento-hello-world
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 -g http-server

Then, in each demo folder execute this command:

http-server

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

Take into account that demos with Generators (kurento-faceoverlay-generator, kurento-recorder-filter-generator, 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

After enabling this flag, you'll need to restart your browser.

Optional parameters

The demos accept some optional GET parameters given on the URL, you only need to add them to the query string in the same way you would add them to the Node.js executable on your command line:

http://example.com/index.html?ws_url=ws://example.org/kurento

All the demos accept the ws_url parameter to set the WebSocket Kurento MediaServer endpoint, other parameters specific to each demo can be found at the top of their index.js files.

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 Clients. Libraries to create applications with media capabilities. Kurento provides libraries for Java, browser JavaScript, and Node.js.

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.

kurento-tutorial-js's People

Contributors

bonigarcia avatar piranna avatar dfernandezlop avatar mparis avatar jcaden avatar funlaburjc avatar lulop-k avatar igracia avatar sancane avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.