Send ack after audio/file/video/blob receipt.
This commit is contained in:
1 parent
5ba188abf4
commit
afb8474c28
1 file changed
+12
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user