mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-04-23 12:26:45 +02:00
Compare commits
2 Commits
d1984d89b8
...
b3db4861ef
Author | SHA1 | Date | |
---|---|---|---|
|
b3db4861ef | ||
|
fc515ff012 |
@ -7,6 +7,7 @@ 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
|
||||||
|
@ -7,6 +7,7 @@ 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
@ -7,7 +7,7 @@
|
|||||||
"author": "Dany LE",
|
"author": "Dany LE",
|
||||||
"email": "contact@iohub.dev"
|
"email": "contact@iohub.dev"
|
||||||
},
|
},
|
||||||
"version":"0.1.14-b",
|
"version":"0.1.15-b",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"category":"Internet",
|
"category":"Internet",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
|
Binary file not shown.
@ -149,12 +149,15 @@ 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) ->
|
||||||
@ -329,7 +332,6 @@ 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
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"author": "Dany LE",
|
"author": "Dany LE",
|
||||||
"email": "contact@iohub.dev"
|
"email": "contact@iohub.dev"
|
||||||
},
|
},
|
||||||
"version":"0.1.14-b",
|
"version":"0.1.15-b",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"category":"Internet",
|
"category":"Internet",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
|
@ -69,6 +69,16 @@
|
|||||||
"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",
|
||||||
@ -355,7 +365,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.14-b",
|
"version": "0.1.15-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"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user