From fc30fb4728fa91efda7462d67c8b2cb4cb26d0c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Legan=C3=A9s=20Combarro=20=22piranna?= Date: Fri, 7 Nov 2014 13:02:27 +0100 Subject: [PATCH] Folders has homogeneous naming Change-Id: Id36630fc8cf6b22a73ef4adaa55acc9b8b59e687 --- README.md | 18 +++++++++++------- .../.gitignore | 0 .../bower.json | 0 .../index.html | 0 .../index.js | 0 .../.gitignore | 0 .../bower.json | 4 ++-- .../index.html | 0 .../index.js | 1 + .../.gitignore | 0 .../bower.json | 0 .../index.html | 0 .../index.js | 0 .../.gitignore | 0 .../README.md | 0 .../keys/README.md | 0 .../keys/server.crt | 0 .../keys/server.csr | 0 .../keys/server.key | 0 .../package.json | 0 .../server.js | 0 .../static}/.gitignore | 0 .../static/bower.json | 0 .../static/index.html | 0 .../static/index.js | 0 .../static => kurento-recorder}/.gitignore | 0 {Recorder => kurento-recorder}/bower.json | 0 {Recorder => kurento-recorder}/index.html | 0 {Recorder => kurento-recorder}/index.js | 0 .../.gitignore | 0 .../bower.json | 0 .../index.html | 0 .../index.js | 0 33 files changed, 14 insertions(+), 9 deletions(-) rename {FaceOverlayGenerator => kurento-faceoverlay-generator}/.gitignore (100%) rename {FaceOverlayGenerator => kurento-faceoverlay-generator}/bower.json (100%) rename {FaceOverlayGenerator => kurento-faceoverlay-generator}/index.html (100%) rename {FaceOverlayGenerator => kurento-faceoverlay-generator}/index.js (100%) rename {Recorder => kurento-recorder-filter-generator}/.gitignore (100%) rename {RecorderFilterGenerator => kurento-recorder-filter-generator}/bower.json (86%) rename {RecorderFilterGenerator => kurento-recorder-filter-generator}/index.html (100%) rename {RecorderFilterGenerator => kurento-recorder-filter-generator}/index.js (99%) rename {RecorderFilterGenerator => kurento-recorder-generator}/.gitignore (100%) rename {RecorderGenerator => kurento-recorder-generator}/bower.json (100%) rename {RecorderGenerator => kurento-recorder-generator}/index.html (100%) rename {RecorderGenerator => kurento-recorder-generator}/index.js (100%) rename {RecorderScreen => kurento-recorder-screen}/.gitignore (100%) rename {RecorderScreen => kurento-recorder-screen}/README.md (100%) rename {RecorderScreen => kurento-recorder-screen}/keys/README.md (100%) rename {RecorderScreen => kurento-recorder-screen}/keys/server.crt (100%) rename {RecorderScreen => kurento-recorder-screen}/keys/server.csr (100%) rename {RecorderScreen => kurento-recorder-screen}/keys/server.key (100%) rename {RecorderScreen => kurento-recorder-screen}/package.json (100%) rename {RecorderScreen => kurento-recorder-screen}/server.js (100%) rename {RecorderGenerator => kurento-recorder-screen/static}/.gitignore (100%) rename {RecorderScreen => kurento-recorder-screen}/static/bower.json (100%) rename {RecorderScreen => kurento-recorder-screen}/static/index.html (100%) rename {RecorderScreen => kurento-recorder-screen}/static/index.js (100%) rename {RecorderScreen/static => kurento-recorder}/.gitignore (100%) rename {Recorder => kurento-recorder}/bower.json (100%) rename {Recorder => kurento-recorder}/index.html (100%) rename {Recorder => kurento-recorder}/index.js (100%) rename {WebRtcLoopbackGenerator => kurento-webrtc-loopback-generator}/.gitignore (100%) rename {WebRtcLoopbackGenerator => kurento-webrtc-loopback-generator}/bower.json (100%) rename {WebRtcLoopbackGenerator => kurento-webrtc-loopback-generator}/index.html (100%) rename {WebRtcLoopbackGenerator => kurento-webrtc-loopback-generator}/index.js (100%) diff --git a/README.md b/README.md index 9fbfb5a..f8b2308 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ 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). +Kurento Client APIs ([kurento-client-js] and [kurento-utils-js]). The source code of this project can be cloned from the [GitHub repository]. @@ -21,22 +21,24 @@ 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: ```bash 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: +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: ```bash 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: +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: ```bash sudo npm install http-server -g @@ -50,8 +52,8 @@ http-server Finally, open this URL in your browser: http://localhost:8080/ -Take into account that demos with Generators (FaceOverlayGenerator, -RecorderFilterGenerator, and so on) require [co] (generator based +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: @@ -92,6 +94,8 @@ Follow us on Twitter @[kurentoms]. [GitHub repository]: https://github.com/Kurento/kurento-tutorial-js [KurentoImage]: https://secure.gravatar.com/avatar/21a2a12c56b2a91c8918d5779f1778bf?s=120 [kurentoms]: http://twitter.com/kurentoms +[kurento-client-js]: https://github.com/Kurento/kurento-client-js +[kurento-utils-js]: https://github.com/Kurento/kurento-utils-js [LGPL License]: http://www.gnu.org/licenses/lgpl-2.1.html [Node.js]: http://nodejs.org/ [website]: http://kurento.org diff --git a/FaceOverlayGenerator/.gitignore b/kurento-faceoverlay-generator/.gitignore similarity index 100% rename from FaceOverlayGenerator/.gitignore rename to kurento-faceoverlay-generator/.gitignore diff --git a/FaceOverlayGenerator/bower.json b/kurento-faceoverlay-generator/bower.json similarity index 100% rename from FaceOverlayGenerator/bower.json rename to kurento-faceoverlay-generator/bower.json diff --git a/FaceOverlayGenerator/index.html b/kurento-faceoverlay-generator/index.html similarity index 100% rename from FaceOverlayGenerator/index.html rename to kurento-faceoverlay-generator/index.html diff --git a/FaceOverlayGenerator/index.js b/kurento-faceoverlay-generator/index.js similarity index 100% rename from FaceOverlayGenerator/index.js rename to kurento-faceoverlay-generator/index.js diff --git a/Recorder/.gitignore b/kurento-recorder-filter-generator/.gitignore similarity index 100% rename from Recorder/.gitignore rename to kurento-recorder-filter-generator/.gitignore diff --git a/RecorderFilterGenerator/bower.json b/kurento-recorder-filter-generator/bower.json similarity index 86% rename from RecorderFilterGenerator/bower.json rename to kurento-recorder-filter-generator/bower.json index 64ffeae..397a9f7 100644 --- a/RecorderFilterGenerator/bower.json +++ b/kurento-recorder-filter-generator/bower.json @@ -21,8 +21,8 @@ ], "dependencies": { "kurento-utils": "^5.0.0", - "kurento-client": "^5.0.0", - "kurento-module-pointerdetector": "^5.0.0", + "kurento-client": "develop", + "kurento-module-pointerdetector": "^1.0.0", "co": "~3.0.7" } } diff --git a/RecorderFilterGenerator/index.html b/kurento-recorder-filter-generator/index.html similarity index 100% rename from RecorderFilterGenerator/index.html rename to kurento-recorder-filter-generator/index.html diff --git a/RecorderFilterGenerator/index.js b/kurento-recorder-filter-generator/index.js similarity index 99% rename from RecorderFilterGenerator/index.js rename to kurento-recorder-filter-generator/index.js index 287b460..25c61c8 100644 --- a/RecorderFilterGenerator/index.js +++ b/kurento-recorder-filter-generator/index.js @@ -23,6 +23,7 @@ const window_uri = "http://files.kurento.org/imgs/Brown_Monsters_40-01.png"; const hover_window_uri = "http://files.kurento.org/imgs/Brown_Monsters_25-01.png"; + window.addEventListener('load', function(event) { kurentoClient.register(kurentoModulePointerdetector); diff --git a/RecorderFilterGenerator/.gitignore b/kurento-recorder-generator/.gitignore similarity index 100% rename from RecorderFilterGenerator/.gitignore rename to kurento-recorder-generator/.gitignore diff --git a/RecorderGenerator/bower.json b/kurento-recorder-generator/bower.json similarity index 100% rename from RecorderGenerator/bower.json rename to kurento-recorder-generator/bower.json diff --git a/RecorderGenerator/index.html b/kurento-recorder-generator/index.html similarity index 100% rename from RecorderGenerator/index.html rename to kurento-recorder-generator/index.html diff --git a/RecorderGenerator/index.js b/kurento-recorder-generator/index.js similarity index 100% rename from RecorderGenerator/index.js rename to kurento-recorder-generator/index.js diff --git a/RecorderScreen/.gitignore b/kurento-recorder-screen/.gitignore similarity index 100% rename from RecorderScreen/.gitignore rename to kurento-recorder-screen/.gitignore diff --git a/RecorderScreen/README.md b/kurento-recorder-screen/README.md similarity index 100% rename from RecorderScreen/README.md rename to kurento-recorder-screen/README.md diff --git a/RecorderScreen/keys/README.md b/kurento-recorder-screen/keys/README.md similarity index 100% rename from RecorderScreen/keys/README.md rename to kurento-recorder-screen/keys/README.md diff --git a/RecorderScreen/keys/server.crt b/kurento-recorder-screen/keys/server.crt similarity index 100% rename from RecorderScreen/keys/server.crt rename to kurento-recorder-screen/keys/server.crt diff --git a/RecorderScreen/keys/server.csr b/kurento-recorder-screen/keys/server.csr similarity index 100% rename from RecorderScreen/keys/server.csr rename to kurento-recorder-screen/keys/server.csr diff --git a/RecorderScreen/keys/server.key b/kurento-recorder-screen/keys/server.key similarity index 100% rename from RecorderScreen/keys/server.key rename to kurento-recorder-screen/keys/server.key diff --git a/RecorderScreen/package.json b/kurento-recorder-screen/package.json similarity index 100% rename from RecorderScreen/package.json rename to kurento-recorder-screen/package.json diff --git a/RecorderScreen/server.js b/kurento-recorder-screen/server.js similarity index 100% rename from RecorderScreen/server.js rename to kurento-recorder-screen/server.js diff --git a/RecorderGenerator/.gitignore b/kurento-recorder-screen/static/.gitignore similarity index 100% rename from RecorderGenerator/.gitignore rename to kurento-recorder-screen/static/.gitignore diff --git a/RecorderScreen/static/bower.json b/kurento-recorder-screen/static/bower.json similarity index 100% rename from RecorderScreen/static/bower.json rename to kurento-recorder-screen/static/bower.json diff --git a/RecorderScreen/static/index.html b/kurento-recorder-screen/static/index.html similarity index 100% rename from RecorderScreen/static/index.html rename to kurento-recorder-screen/static/index.html diff --git a/RecorderScreen/static/index.js b/kurento-recorder-screen/static/index.js similarity index 100% rename from RecorderScreen/static/index.js rename to kurento-recorder-screen/static/index.js diff --git a/RecorderScreen/static/.gitignore b/kurento-recorder/.gitignore similarity index 100% rename from RecorderScreen/static/.gitignore rename to kurento-recorder/.gitignore diff --git a/Recorder/bower.json b/kurento-recorder/bower.json similarity index 100% rename from Recorder/bower.json rename to kurento-recorder/bower.json diff --git a/Recorder/index.html b/kurento-recorder/index.html similarity index 100% rename from Recorder/index.html rename to kurento-recorder/index.html diff --git a/Recorder/index.js b/kurento-recorder/index.js similarity index 100% rename from Recorder/index.js rename to kurento-recorder/index.js diff --git a/WebRtcLoopbackGenerator/.gitignore b/kurento-webrtc-loopback-generator/.gitignore similarity index 100% rename from WebRtcLoopbackGenerator/.gitignore rename to kurento-webrtc-loopback-generator/.gitignore diff --git a/WebRtcLoopbackGenerator/bower.json b/kurento-webrtc-loopback-generator/bower.json similarity index 100% rename from WebRtcLoopbackGenerator/bower.json rename to kurento-webrtc-loopback-generator/bower.json diff --git a/WebRtcLoopbackGenerator/index.html b/kurento-webrtc-loopback-generator/index.html similarity index 100% rename from WebRtcLoopbackGenerator/index.html rename to kurento-webrtc-loopback-generator/index.html diff --git a/WebRtcLoopbackGenerator/index.js b/kurento-webrtc-loopback-generator/index.js similarity index 100% rename from WebRtcLoopbackGenerator/index.js rename to kurento-webrtc-loopback-generator/index.js