pull/105/head
Apex Liu 2018-01-10 18:31:11 +08:00
parent 8ac881912b
commit 8a954b1355
2 changed files with 5 additions and 1 deletions

View File

@ -270,7 +270,7 @@ $app.do_play = function () {
// console.log('mouse pos:', play_data, play_data.x, play_data.y);
$app._draw_cursor(play_data.x, play_data.y);
// console.log('cursor-t-delta:', play_data.t - $app.last_cursor_t);
console.log('cursor-t-delta:', play_data.t - $app.last_cursor_t);
$app.last_cursor_t = play_data.t;
}

View File

@ -266,6 +266,10 @@ def read_rdp_record_data(record_id, offset):
# this is a data package.
_data = base64.b64encode(_data)
temp['d'] = _data.decode()
elif _action == 0x12:
# this is a bitmap package.
_data = base64.b64encode(_data)
temp['d'] = _data.decode()
else:
return None, 0, TPE_FAILED