Compare commits

..

No commits in common. "b3db4861ef315f53dd2c50afb638d228db349b04" and "d1984d89b8f399a838e8009c5777d7fb979a6ad5" have entirely different histories.

8 changed files with 5 additions and 19 deletions

View File

@ -7,7 +7,6 @@ Further information on **wvnc**: [https://blog.lxsang.me/post/id/23](https://blo
## Change logs ## Change logs
* v0.1.15 - Only send ACK command when finish rendering the received frame, this allows to vastly improve performance and bandwidth
* v0.1.14 - Add toolbar for canvas size control * v0.1.14 - Add toolbar for canvas size control
* v0.1.13 - support AntOS v2.0.x * v0.1.13 - support AntOS v2.0.x
* v0.1.12 - improve UI handling * v0.1.12 - improve UI handling

View File

@ -7,7 +7,6 @@ Further information on **wvnc**: [https://blog.lxsang.me/post/id/23](https://blo
## Change logs ## Change logs
* v0.1.15 - Only send ACK command when finish rendering the received frame, this allows to vastly improve performance and bandwidth
* v0.1.14 - Add toolbar for canvas size control * v0.1.14 - Add toolbar for canvas size control
* v0.1.13 - support AntOS v2.0.x * v0.1.13 - support AntOS v2.0.x
* v0.1.12 - improve UI handling * v0.1.12 - improve UI handling

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
"author": "Dany LE", "author": "Dany LE",
"email": "contact@iohub.dev" "email": "contact@iohub.dev"
}, },
"version":"0.1.15-b", "version":"0.1.14-b",
"dependencies": [], "dependencies": [],
"category":"Internet", "category":"Internet",
"icon": "icon.png", "icon": "icon.png",

View File

@ -149,15 +149,12 @@ class WVNC
process: (msg) -> process: (msg) ->
if not @socket if not @socket
@socket.send(@buildCommand 0x04, 1)
return return
data = new Uint8Array msg.pixels data = new Uint8Array msg.pixels
ctx = @canvas.getContext "2d", { alpha: false } ctx = @canvas.getContext "2d", { alpha: false }
imgData = ctx.createImageData msg.w, msg.h imgData = ctx.createImageData msg.w, msg.h
imgData.data.set data imgData.data.set data
ctx.putImageData imgData,msg.x, msg.y ctx.putImageData imgData,msg.x, msg.y
# tell the server that we are ready
@socket.send(@buildCommand 0x04, 1)
setScale: (n) -> setScale: (n) ->
@ -332,6 +329,7 @@ class WVNC
when 0x84 when 0x84
# send data to web assembly for decoding # send data to web assembly for decoding
@decoder.postMessage data.buffer, [data.buffer] @decoder.postMessage data.buffer, [data.buffer]
@socket.send(@buildCommand 0x04, 1)
when 0x85 when 0x85
# clipboard data from server # clipboard data from server
data = data.subarray 1 data = data.subarray 1

View File

@ -7,7 +7,7 @@
"author": "Dany LE", "author": "Dany LE",
"email": "contact@iohub.dev" "email": "contact@iohub.dev"
}, },
"version":"0.1.15-b", "version":"0.1.14-b",
"dependencies": [], "dependencies": [],
"category":"Internet", "category":"Internet",
"icon": "icon.png", "icon": "icon.png",

View File

@ -69,16 +69,6 @@
"dependencies": ["Antunnel@0.2.0-b"], "dependencies": ["Antunnel@0.2.0-b"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/AntunnelPlugins/build/release/AntunnelPlugins.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/AntunnelPlugins/build/release/AntunnelPlugins.zip"
}, },
{
"pkgname": "AntunnelTestClient",
"name": "AntunnelTestClient",
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/AntunnelTestClient/README.md",
"category": "Development",
"author": "Dany LE",
"version": "0.1.0-a",
"dependencies": ["Antunnel@0.2.1-b"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/AntunnelTestClient/build/release/AntunnelTestClient.zip"
},
{ {
"pkgname": "Archive", "pkgname": "Archive",
"name": "Archive", "name": "Archive",
@ -365,7 +355,7 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/RemoteDesktop/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/RemoteDesktop/README.md",
"category": "Internet", "category": "Internet",
"author": "Dany LE", "author": "Dany LE",
"version": "0.1.15-b", "version": "0.1.14-b",
"dependencies": [],"category":"Internet","icon":"icon.png","mimes":["none"], "dependencies": [],"category":"Internet","icon":"icon.png","mimes":["none"],
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/RemoteDesktop/build/release/RemoteDesktop.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/RemoteDesktop/build/release/RemoteDesktop.zip"
}, },