diff --git a/agents/meshinstall-linux.sh b/agents/meshinstall-linux.sh
index 65837d63..bd43729a 100644
--- a/agents/meshinstall-linux.sh
+++ b/agents/meshinstall-linux.sh
@@ -55,7 +55,7 @@ CheckInstallAgent() {
url=$1
meshid=$2
meshidlen=${#meshid}
- if [ $meshidlen -eq 64 ]
+ if [ $meshidlen -gt 63 ]
then
machineid=0
machinetype=$( uname -m )
@@ -118,7 +118,7 @@ CheckInstallAgent() {
fi
else
- echo "MeshID is not correct, must be 64 characters long."
+ echo "MeshID is not correct, must be at least 64 characters long."
fi
else
echo "URI and/or MeshID have not been specified, must be passed in as arguments."
diff --git a/views/player.handlebars b/views/player.handlebars
index e32d4733..3aa99bc1 100644
--- a/views/player.handlebars
+++ b/views/player.handlebars
@@ -260,7 +260,7 @@
else if (recFileMetadata.protocol == 101) {
// Intel AMT Redirection
recFileProtocol = 101;
- x += '
Press [space] to play/pause.';
+ x += '
' + "Press [space] to play/pause." + '';
QE('PlayButton', true);
QE('PauseButton', false);
QE('RestartButton', false);
@@ -275,7 +275,7 @@
else if (recFileMetadata.protocol == 200) {
// Intel AMT Midstream KVM
recFileProtocol = 200;
- x += '
Press [space] to play/pause.';
+ x += '
' + "Press [space] to play/pause." + '';
QE('PlayButton', true);
QE('PauseButton', false);
QE('RestartButton', false);
@@ -367,6 +367,14 @@
}
}
+ // This is a PNG screenshot of the display, load it and render it.
+ if ((type == 3) && (recFileProtocol == 200)) {
+ var tile = new Image();
+ tile.src = "data:image/png;base64," + btoa(data);
+ tile.onload = function () { amtDesktop.canvas.drawImage(tile, 0, 0); }
+ tile.error = function () { }
+ }
+
if (playing) { readNextBlock(processBlock); }
}