mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added WebM conversion feature to recordings player.
This commit is contained in:
parent
2ae6dced9e
commit
b8f7fb16ec
4 changed files with 1170 additions and 2 deletions
|
@ -138,6 +138,7 @@ var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
|
|||
for (var i = 0; i < obj.PendingOperations.length; i++) { // && KillDraw < tilesDrawn
|
||||
var Msg = obj.PendingOperations[i];
|
||||
if (Msg[0] == (obj.TilesDrawn + 1)) {
|
||||
if (obj.onPreDrawImage != null) obj.onPreDrawImage(); // Notify that we are about to draw on the canvas.
|
||||
if (Msg[1] == 1) { obj.ProcessCopyRectMsg(Msg[2]); }
|
||||
else if (Msg[1] == 2) { obj.Canvas.drawImage(Msg[2], obj.rotX(Msg[3], Msg[4]), obj.rotY(Msg[3], Msg[4])); delete Msg[2]; }
|
||||
obj.PendingOperations.splice(i, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue