diff --git a/README.md b/README.md index 94ddd1e2..ab1a133b 100644 --- a/README.md +++ b/README.md @@ -1 +1,43 @@ -# openvidu-tutorials \ No newline at end of file +# openvidu-tutorials + +## [openvidu-insecure-js](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-insecure-js) + +This is the simplest demo you can try to get started with OpenVidu. It has the minimum set of features to make a video-call. + +

+ +

+ +## [openvidu-insecure-angular](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-insecure-angular) + +Angular version of _openvidu-insecure-js_. Try it if you plan to use Angular framework for your frontend. + +

+ +

+ +## [openvidu-js-java](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-js-java) + +A secure OpenVidu sample app with a Java backend and a SPA frontend. It makes use of _openvidu-java-client_ to get the necessary params from OpenVidu Server. + +

+ +

+ +## [openvidu-js-node](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-js-node) + +A secure OpenVidu sample app with a Node backend and a SPA frontend. It makes use of the _openvidu-node-client_ to get the necessary params from OpenVidu Server. + +

+ +

+ +## [openvidu-mvc-java](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-mvc-java) + +A secure OpenVidu sample app with a Java backend and a traditional MVC frontend. With regard to the use of OpenVidu, it is identical to _openvidu-js-java_. This tutorial is intended for developers who feel more comfortable with MVC web architectures for their frontends. +[Thymeleaf](http://www.thymeleaf.org/) is the template engine of choice for this tutorial. + +## [openvidu-mvc-node](https://github.com/OpenVidu/openvidu-tutorials/tree/master/openvidu-mvc-node) + +A secure OpenVidu sample app with a Node backend and a traditional MVC frontend. With regard to the use of OpenVidu, it is identical to _openvidu-js-node_. This tutorial is intended for developers who feel more comfortable with MVC web architectures for their frontends. +[Embedded JavaScript](http://www.embeddedjs.com/) is the template engine of choice for this tutorial. diff --git a/openvidu-js-node/server.js b/openvidu-js-node/server.js index f7a2986e..23ed155a 100644 --- a/openvidu-js-node/server.js +++ b/openvidu-js-node/server.js @@ -150,6 +150,7 @@ app.post('/api-sessions/remove-user', function (req, res) { var sessionName = req.body.sessionName; var token = req.body.token; console.log('Removing user | {sessionName, token}={' + sessionName + ", " + token + '}'); + var mySession = mapSessionNameSession[sessionName]; if (mySession) { var tokens = mapSessionIdTokens[mySession.getSessionId()];