Send ack after audio/file/video/blob receipt.

This commit is contained in:
Michael Jumper
2013-10-27 23:25:33 -07:00
parent 5ba188abf4
commit afb8474c28

View File

@@ -944,6 +944,9 @@ Guacamole.Client = function(tunnel) {
channel.play(mimetype, duration, stream.getBlob());
};
// Send success response
tunnel.sendMessage("ack", stream_index, "OK", 0x0000);
},
"blob": function(parameters) {
@@ -964,6 +967,9 @@ Guacamole.Client = function(tunnel) {
// Write data
stream.receive(arrayBuffer);
// Send success response
tunnel.sendMessage("ack", stream_index, "OK", 0x0000);
},
"cfill": function(parameters) {
@@ -1175,6 +1181,9 @@ Guacamole.Client = function(tunnel) {
if (guac_client.onfile)
guac_client.onfile(filename, stream);
// Send success response
tunnel.sendMessage("ack", stream_index, "OK", 0x0000);
},
"identity": function(parameters) {
@@ -1526,6 +1535,9 @@ Guacamole.Client = function(tunnel) {
};
// Send success response
tunnel.sendMessage("ack", stream_index, "OK", 0x0000);
}