mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Remove old mimetype events.
This commit is contained in:
@@ -323,36 +323,6 @@ Guacamole.Client = function(tunnel) {
|
|||||||
return bounds;
|
return bounds;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* Sends a supported audio mimetype.
|
|
||||||
*
|
|
||||||
* @param {String} mimetype The supported mimetype to send.
|
|
||||||
*/
|
|
||||||
this.sendAudioMimetype = function(mimetype) {
|
|
||||||
|
|
||||||
// Do not send requests if not connected
|
|
||||||
if (!isConnected())
|
|
||||||
return;
|
|
||||||
|
|
||||||
tunnel.sendMessage("audio", mimetype);
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sends a supported video mimetype.
|
|
||||||
*
|
|
||||||
* @param {String} mimetype The supported mimetype to send.
|
|
||||||
*/
|
|
||||||
this.sendVideoMimetype = function(mimetype) {
|
|
||||||
|
|
||||||
// Do not send requests if not connected
|
|
||||||
if (!isConnected())
|
|
||||||
return;
|
|
||||||
|
|
||||||
tunnel.sendMessage("video", mimetype);
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends the current size of the screen.
|
* Sends the current size of the screen.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user