Handle new style recordings
Newer recordings are always binary and don't include the encoding specifier.
This commit is contained in:
parent
d1a1e0e529
commit
b05a7b1dcf
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue