mirror of
https://github.com/novnc/noVNC.git
synced 2026-05-28 16:09:41 +00:00
Handle new style recordings
Newer recordings are always binary and don't include the encoding specifier.
This commit is contained in:
@@ -47,7 +47,9 @@ function enableUI() {
|
||||
startButton.addEventListener('click', start);
|
||||
|
||||
frames = VNC_frame_data;
|
||||
encoding = VNC_frame_encoding;
|
||||
// Only present in older recordings
|
||||
if (window.VNC_frame_encoding)
|
||||
encoding = VNC_frame_encoding;
|
||||
}
|
||||
|
||||
const notification = function (rfb, mesg, level, options) {
|
||||
|
||||
Reference in New Issue
Block a user