GUACAMOLE-1793: Fix creation of SessionRecording from blob.

This commit is contained in:
Leonard Wagner committed 2023-05-24 16:41:52 +02:00
1 parent ad3e7935ba
commit 9868a056bd
1 file changed
+3 -1
@@ -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