GUACAMOLE-1793: Fix creation of SessionRecording from blob.

This commit is contained in:
Leonard Wagner
2023-05-23 10:23:41 +02:00
parent ad3e7935ba
commit 9868a056bd

View File

@@ -398,8 +398,10 @@ Guacamole.SessionRecording = function SessionRecording(source) {
}; };
// Read instructions from provided blob, extracting each frame // Read instructions from provided blob, extracting each frame
if (source instanceof Blob) if (source instanceof Blob) {
recordingBlob = source;
parseBlob(recordingBlob, loadInstruction, notifyLoaded); parseBlob(recordingBlob, loadInstruction, notifyLoaded);
}
// If tunnel provided instead of Blob, extract frames, etc. as instructions // If tunnel provided instead of Blob, extract frames, etc. as instructions
// are received, buffering things into a Blob for future seeks // are received, buffering things into a Blob for future seeks