Tutorials updated to use OpenVidu beta.1

This commit is contained in:
pabloFuente 2017-07-27 14:28:03 +02:00
parent e5abe45b67
commit fc3f783b48
20 changed files with 20 additions and 20 deletions

View File

@ -17,7 +17,7 @@
<!-- Bootstrap -->
<link rel="styleSheet" href="style.css" type="text/css" media="screen">
<script src="OpenVidu.js"></script>
<script src="openvidu-browser-1.0.3-beta.1.js"></script>
<script src="app.js"></script>
</head>
@ -63,7 +63,7 @@
<div id="img-div"><img src="resources/images/openvidu_grey_bg_transp_cropped.png" /></div>
<div id="join-dialog" class="jumbotron vertical-center">
<h1 class="arciform">Get a room</h1>
<button type="button" class="btn btn-success" onclick="joinRoom()">Go!</button>
<button type="button" class="btn btn-lg btn-success" onclick="joinRoom()">Go!</button>
</div>
</div>

View File

@ -21,7 +21,7 @@
"@angular/platform-browser-dynamic": "^2.4.0",
"@angular/router": "^3.4.0",
"core-js": "^2.4.1",
"openvidu-browser": "1.0.2",
"openvidu-browser": "1.0.3-beta.1",
"zone.js": "^0.7.6"
},
"devDependencies": {

View File

@ -17,7 +17,7 @@
<!-- Bootstrap -->
<link rel="stylesheet" href="style.css" type="text/css" media="screen">
<script src="OpenVidu.js"></script>
<script src="openvidu-browser-1.0.3-beta.1.js"></script>
<script src="app.js"></script>
</head>

View File

@ -27,6 +27,6 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/home/pablo/Documents/Git/openvidu/openvidu-java-client/target/openvidu-java-client-0.0.1-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="/openvidu-java-client/target/openvidu-java-client-1.0.0-beta.1.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@ -4,7 +4,7 @@
<groupId>io.openvidu</groupId>
<artifactId>openvidu-js-java</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-beta.1</version>
<packaging>jar</packaging>
<name>openvidu-js-java</name>
@ -95,7 +95,7 @@
<dependency>
<groupId>io.openvidu</groupId>
<artifactId>openvidu-java-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-beta.1</version>
</dependency>
</dependencies>

View File

@ -123,7 +123,7 @@ function logIn() {
'pass': pass
});
httpRequest('POST', '/api-login/login', jsonBody, 'Login WRONG', function successCallback(response) {
httpRequest('POST', 'api-login/login', jsonBody, 'Login WRONG', function successCallback(response) {
console.warn(userName + ' login');
$("#name-user").text(user);
$("#not-logged").hide();
@ -135,7 +135,7 @@ function logIn() {
}
function logOut() {
httpRequest('GET', '/api-login/logout', null, 'Logout WRONG', function successCallback(response) {
httpRequest('GET', 'api-login/logout', null, 'Logout WRONG', function successCallback(response) {
console.warn(userName + ' logout');
$("#not-logged").show();
$("#logged").hide();
@ -149,7 +149,7 @@ function getSessionIdAndToken(callback) {
'session': sessionName
});
httpRequest('POST', '/api-sessions/get-sessionid-token', jsonBody, 'Request of SESSIONID and TOKEN gone WRONG:', function successCallback(response) {
httpRequest('POST', 'api-sessions/get-sessionid-token', jsonBody, 'Request of SESSIONID and TOKEN gone WRONG:', function successCallback(response) {
sessionId = response[0];
token = response[1];
console.warn('Request of SESSIONID and TOKEN gone WELL (SESSIONID:' + sessionId + ", TOKEN:" + token + ")");
@ -163,7 +163,7 @@ function removeUser() {
'token': token
});
httpRequest('POST', '/api-sessions/remove-user', jsonBody, 'User couldn\'t be removed from session', function successCallback(response) {
httpRequest('POST', 'api-sessions/remove-user', jsonBody, 'User couldn\'t be removed from session', function successCallback(response) {
console.warn(userName + " correctly removed from session");
});
}

View File

@ -17,7 +17,7 @@
<!-- Bootstrap -->
<link rel="styleSheet" href="style.css" type="text/css" media="screen">
<script src="OpenVidu.js"></script>
<script src="openvidu-browser-1.0.3-beta.1.js"></script>
<script src="app.js"></script>
<script>
$(document).ready(function () {

View File

@ -20,6 +20,6 @@
"body-parser": "^1.17.2",
"express": "^4.15.3",
"express-session": "^1.15.3",
"openvidu-node-client": "1.0.0"
"openvidu-node-client": "1.0.1-beta.1"
}
}

View File

@ -17,7 +17,7 @@
<!-- Bootstrap -->
<link rel="styleSheet" href="style.css" type="text/css" media="screen">
<script src="OpenVidu.js"></script>
<script src="openvidu-browser-1.0.3-beta.1.js"></script>
<script src="app.js"></script>
<script>
$(document).ready(function () {

View File

@ -27,6 +27,6 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="/home/pablo/Documents/Git/openvidu/openvidu-java-client/target/openvidu-java-client-0.0.1-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="/openvidu-java-client/target/openvidu-java-client-1.0.0-beta.1.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@ -4,7 +4,7 @@
<groupId>io.openvidu</groupId>
<artifactId>openvidu-mvc-java</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-beta.1</version>
<packaging>jar</packaging>
<parent>
@ -41,7 +41,7 @@
<dependency>
<groupId>io.openvidu</groupId>
<artifactId>openvidu-java-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0-beta.1</version>
</dependency>
</dependencies>

View File

@ -17,7 +17,7 @@
<!-- Bootstrap -->
<link rel="styleSheet" href="style.css" type="text/css" media="screen"></link>
<script src="OpenVidu.js"></script>
<script src="openvidu-browser-1.0.3-beta.1.js"></script>
</head>
<body>

View File

@ -21,6 +21,6 @@
"ejs": "^2.5.6",
"express": "^4.15.3",
"express-session": "^1.15.3",
"openvidu-node-client": "1.0.0"
"openvidu-node-client": "1.0.1-beta.1"
}
}

View File

@ -17,7 +17,7 @@
<!-- Bootstrap -->
<link rel="styleSheet" href="style.css" type="text/css" media="screen"></link>
<script src="OpenVidu.js"></script>
<script src="openvidu-browser-1.0.3-beta.1.js"></script>
</head>
<body>