From 9868a056bd1dcf4c7d37eb233c140b13b20acdfb Mon Sep 17 00:00:00 2001 From: Leonard Wagner <25386154+leonard2901@users.noreply.github.com> Date: Tue, 23 May 2023 10:23:41 +0200 Subject: [PATCH] GUACAMOLE-1793: Fix creation of SessionRecording from blob. --- .../src/main/webapp/modules/SessionRecording.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guacamole-common-js/src/main/webapp/modules/SessionRecording.js b/guacamole-common-js/src/main/webapp/modules/SessionRecording.js index 984d8772b..ce8968f2b 100644 --- a/guacamole-common-js/src/main/webapp/modules/SessionRecording.js +++ b/guacamole-common-js/src/main/webapp/modules/SessionRecording.js @@ -398,8 +398,10 @@ Guacamole.SessionRecording = function SessionRecording(source) { }; // Read instructions from provided blob, extracting each frame - if (source instanceof Blob) + if (source instanceof Blob) { + recordingBlob = source; parseBlob(recordingBlob, loadInstruction, notifyLoaded); + } // If tunnel provided instead of Blob, extract frames, etc. as instructions // are received, buffering things into a Blob for future seeks