mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Send ack after audio/file/video/blob receipt.
This commit is contained in:
@@ -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