Skip to content

Commit

Permalink
Neccesary changes to make the different filters compatible with Kuren…
Browse files Browse the repository at this point in the history
…to version 6.4
  • Loading branch information
VictorHidalgoVT committed Mar 1, 2016
1 parent 32ce933 commit c9f8fde
Show file tree
Hide file tree
Showing 58 changed files with 85 additions and 356 deletions.
2 changes: 1 addition & 1 deletion apps/NuboEarJava/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"bootstrap": "~3.3.0",
"ekko-lightbox": "~3.1.4",
"adapter.js": "*",
"adapter.js": "v0.2.9",
"demo-console": "master"
}
}
2 changes: 1 addition & 1 deletion apps/NuboEarJava/generate_zip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

APP_NAME=NuboEarJava
VERSION=6.1.0
VERSION=6.4.0
DIR_INSTALL=apps_install
MVN_CENTRAL=mvn_central

Expand Down
14 changes: 0 additions & 14 deletions apps/NuboEarJava/generate_zip.sh.save

This file was deleted.

2 changes: 1 addition & 1 deletion apps/NuboEarJava/install/demo-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "Service [$APP_NAME] - [$1]"
APP_HOME=/var/lib/kurento
APP_NAME=nubo-ear-detector
APP_JAR=NuboEarJava
APP_VERSION=6.1.0
APP_VERSION=6.4.0
APP=$APP_NAME-$APP_VERSION
APP_PORT=8104
CONSOLE_LOG=/var/log/kurento-media-server/$APP_NAME.log
Expand Down
4 changes: 2 additions & 2 deletions apps/NuboEarJava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubomedia-vca-parent-pom</artifactId>
<version>6.1.0</version>
<version>6.4.0</version>
</parent>

<artifactId>NuboEarJava</artifactId>
Expand Down Expand Up @@ -73,7 +73,7 @@
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nuboeardetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboEyeJava/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"bootstrap": "~3.3.0",
"ekko-lightbox": "~3.1.4",
"adapter.js": "*",
"adapter.js": "v0.2.9",
"demo-console": "master"
}
}
2 changes: 1 addition & 1 deletion apps/NuboEyeJava/generate_zip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

APP_NAME=NuboEyeJava
VERSION=6.1.0
VERSION=6.4.0
DIR_INSTALL=apps_install
MVN_CENTRAL=mvn_central

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboEyeJava/install/demo-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "Service [$APP_NAME] - [$1]"
APP_HOME=/var/lib/kurento
APP_NAME=nubo-eye-detector
APP_JAR=NuboEyeJava
APP_VERSION=6.1.0
APP_VERSION=6.4.0
APP=$APP_NAME-$APP_VERSION
APP_PORT=8108
CONSOLE_LOG=/var/log/kurento-media-server/$APP_NAME.log
Expand Down
4 changes: 2 additions & 2 deletions apps/NuboEyeJava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubomedia-vca-parent-pom</artifactId>
<version>6.1.0</version>
<version>6.4.0</version>
</parent>

<artifactId>NuboEyeJava</artifactId>
Expand Down Expand Up @@ -73,7 +73,7 @@
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nuboeyedetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboFaceJava/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"bootstrap": "~3.3.0",
"ekko-lightbox": "~3.1.4",
"adapter.js": "*",
"adapter.js": "v0.2.9",
"demo-console": "1.5.1"
}
}
2 changes: 1 addition & 1 deletion apps/NuboFaceJava/generate_zip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

APP_NAME=NuboFaceJava
VERSION=6.1.0
VERSION=6.4.0
DIR_INSTALL=apps_install
MVN_CENTRAL=mvn_central

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboFaceJava/install/demo-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "Service [$APP_NAME] - [$1]"
APP_HOME=/var/lib/kurento
APP_NAME=nubo-face-detector
APP_JAR=NuboFaceJava
APP_VERSION=6.1.0
APP_VERSION=6.4.0
APP=$APP_NAME-$APP_VERSION
APP_PORT=8100
CONSOLE_LOG=/var/log/kurento-media-server/$APP_NAME.log
Expand Down
4 changes: 2 additions & 2 deletions apps/NuboFaceJava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubomedia-vca-parent-pom</artifactId>
<version>6.1.0</version>
<version>6.4.0</version>
</parent>

<artifactId>NuboFaceJava</artifactId>
Expand Down Expand Up @@ -71,7 +71,7 @@
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubofacedetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ public void handleTextMessage(WebSocketSession session, TextMessage message)
setWidthToProcess(session,jsonMessage);
break;
case "get_stats":
getStats(session);
break;
getStats(session);
break;
case "euclidean_dis":
setEuclideanDistance(session,jsonMessage);
break;
Expand Down Expand Up @@ -120,6 +120,7 @@ public void handleTextMessage(WebSocketSession session, TextMessage message)
}

default:
System.out.println("Error in handle text message....");
sendError(session,
"Invalid message with id "
+ jsonMessage.get("id").getAsString());
Expand Down Expand Up @@ -292,8 +293,9 @@ private void getStats(WebSocketSession session)
{

try {
Map<String,Stats> wr_stats= webRtcEndpoint.getStats();


Map<String,Stats> wr_stats= webRtcEndpoint.getStats();

for (Stats s : wr_stats.values()) {

switch (s.getType()) {
Expand All @@ -303,8 +305,8 @@ private void getStats(WebSocketSession session)

JsonObject response = new JsonObject();
response.addProperty("id", "videoE2Elatency");
response.addProperty("message", e2eVideLatency);
session.sendMessage(new TextMessage(response.toString()));
response.addProperty("message", e2eVideLatency);
session.sendMessage(new TextMessage(response.toString()));
break;

default:
Expand Down
5 changes: 3 additions & 2 deletions apps/NuboFaceJava/src/main/resources/static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ ws.onmessage = function(message) {
break;
case 'videoE2Elatency':
document.getElementById('testVideoE2Elatency').innerHTML= " VideoE2ELatency (ms): " + parsedMessage.message;
alert("Yes i am in videoE2Elatency value" + parsedMessage.message);
break;
case 'iceCandidate':
webRtcPeer.addIceCandidate(parsedMessage.candidate, function (error) {
Expand Down Expand Up @@ -236,7 +237,7 @@ function set_scale(value) {
function show_latency()
{
if ( document.getElementById('videoE2Elatency').checked) {
timerId = setInterval(get_stats,1000);
timerId = setInterval(get_stats,3000);
}
else {
document.getElementById('testVideoE2Elatency').innerHTML = " VideoE2ELatency (ms): ";
Expand All @@ -248,7 +249,7 @@ function get_stats()
{
var message = {
id : 'get_stats',
val: ''
val: '1'
};

sendMessage(message);
Expand Down
2 changes: 1 addition & 1 deletion apps/NuboFaceProfileJava/generate_zip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

APP_NAME=NuboFaceProfileJava
VERSION=6.1.0
VERSION=6.4.0
DIR_INSTALL=apps_install

mkdir -p ../$DIR_INSTALL
Expand Down
2 changes: 1 addition & 1 deletion apps/NuboFaceProfileJava/install/demo-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "Service [$APP_NAME] - [$1]"
APP_HOME=/var/lib/kurento
APP_NAME=nubo-face-profile-detector
APP_JAR=NuboFaceProfileJava
APP_VERSION=6.1.0-SNAPSHOT
APP_VERSION=6.4.0
APP=$APP_NAME-$APP_VERSION
APP_PORT=8105
CONSOLE_LOG=/var/log/kurento-media-server/$APP_NAME.log
Expand Down
10 changes: 5 additions & 5 deletions apps/NuboFaceProfileJava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubomedia-vca-parent-pom</artifactId>
<version>6.1.0</version>
<version>6.4.0</version>
</parent>

<artifactId>NuboFaceProfileJava</artifactId>
Expand Down Expand Up @@ -72,22 +72,22 @@
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubofacedetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubomouthdetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubonosedetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nuboeyedetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboMouthJava/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"bootstrap": "~3.3.0",
"ekko-lightbox": "~3.1.4",
"adapter.js": "*",
"adapter.js": "v0.2.9",
"demo-console": "master"
}
}
2 changes: 1 addition & 1 deletion apps/NuboMouthJava/generate_zip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

APP_NAME=NuboMouthJava
VERSION=6.1.0
VERSION=6.4.0
DIR_INSTALL=apps_install
MVN_CENTRAL=mvn_central

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboMouthJava/install/demo-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "Service [$APP_NAME] - [$1]"
APP_HOME=/var/lib/kurento
APP_NAME=nubo-mouth-detector
APP_JAR=NuboMouthJava
APP_VERSION=6.1.0-SNAPSHOT
APP_VERSION=6.4.0
APP=$APP_NAME-$APP_VERSION
APP_PORT=8103
CONSOLE_LOG=/var/log/kurento-media-server/$APP_NAME.log
Expand Down
4 changes: 2 additions & 2 deletions apps/NuboMouthJava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubomedia-vca-parent-pom</artifactId>
<version>6.1.0</version>
<version>6.4.0</version>
</parent>

<artifactId>NuboMouthJava</artifactId>
Expand Down Expand Up @@ -71,7 +71,7 @@
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubomouthdetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboNoseJava/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"bootstrap": "~3.3.0",
"ekko-lightbox": "~3.1.4",
"adapter.js": "*",
"adapter.js": "v0.2.9",
"demo-console": "master"
}
}
2 changes: 1 addition & 1 deletion apps/NuboNoseJava/generate_zip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

APP_NAME=NuboNoseJava
VERSION=6.1.0
VERSION=6.4.0
DIR_INSTALL=apps_install
MVN_CENTRAL=mvn_central

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboNoseJava/install/demo-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "Service [$APP_NAME] - [$1]"
APP_HOME=/var/lib/kurento
APP_NAME=nubo-nose-detector
APP_JAR=NuboNoseJava
APP_VERSION=6.1.0-SNAPSHOT
APP_VERSION=6.4.0
APP=$APP_NAME-$APP_VERSION
APP_PORT=8102
CONSOLE_LOG=/var/log/kurento-media-server/$APP_NAME.log
Expand Down
4 changes: 2 additions & 2 deletions apps/NuboNoseJava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubomedia-vca-parent-pom</artifactId>
<version>6.1.0</version>
<version>6.4.0</version>
</parent>

<artifactId>NuboNoseJava</artifactId>
Expand Down Expand Up @@ -70,7 +70,7 @@
<dependency>
<groupId>com.visual-tools.nubomedia</groupId>
<artifactId>nubonosedetector</artifactId>
<version>0.0.5</version>
<version>6.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboTrackerJava/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"bootstrap": "~3.3.0",
"ekko-lightbox": "~3.1.4",
"adapter.js": "*",
"adapter.js": "v0.2.9",
"demo-console": "master"
}
}
2 changes: 1 addition & 1 deletion apps/NuboTrackerJava/generate_zip.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

APP_NAME=NuboTrackerJava
VERSION=6.1.0
VERSION=6.4.0
DIR_INSTALL=apps_install
MVN_CENTRAL=mvn_central

Expand Down
2 changes: 1 addition & 1 deletion apps/NuboTrackerJava/install/demo-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "Service [$APP_NAME] - [$1]"
APP_HOME=/var/lib/kurento
APP_NAME=nubo-tracker
APP_JAR=NuboTrackerJava
APP_VERSION=6.1.0
APP_VERSION=6.4.0
APP=$APP_NAME-$APP_VERSION
APP_PORT=8107
CONSOLE_LOG=/var/log/kurento-media-server/$APP_NAME.log
Expand Down
Loading

0 comments on commit c9f8fde

Please sign in to comment.