Handle new style recordings

Newer recordings are always binary and don't include the encoding
specifier.
This commit is contained in:
Pierre Ossman 2017-09-05 14:31:10 +02:00
parent d1a1e0e529
commit b05a7b1dcf
1 changed files with 3 additions and 1 deletions

View File

@ -47,6 +47,8 @@ function enableUI() {
startButton.addEventListener('click', start);
frames = VNC_frame_data;
// Only present in older recordings
if (window.VNC_frame_encoding)
encoding = VNC_frame_encoding;
}