Go to file
zengdongbao f279fe81fa optimized wire.js inbound function, reduce combine times
If the frame data is large, it will be divided into multiple packets. In the current processing mode, each packet will be merged with the old packet into a new buffer, resulting in a large number of redundant operations.
Optimization scheme: Use array cache packets, and finally use DataView.set to do a merge.

After testing, 1080p picture data merging time can be reduced from 100ms to <5ms

Signed-off-by: zengdongbao <zengdongbao@gmail.com>
2024-01-17 09:29:03 +00:00
src optimized wire.js inbound function, reduce combine times 2024-01-17 09:29:03 +00:00
.gitignore Generate package.json from the Makefile. 2019-02-14 12:46:44 -06:00
apache.conf.sample No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
COPYING initial 2012-06-04 17:22:01 +03:00
COPYING.LESSER initial 2012-06-04 17:22:01 +03:00
Makefile Generate package.json from the Makefile. 2019-02-14 12:46:44 -06:00
package.json.in Generate package.json from the Makefile. 2019-02-14 12:46:44 -06:00
README Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
spice_auto.html addition of ctrl-alt-delete functionality on side navigation, with associated js eventlistener 2020-09-04 15:37:00 -04:00
spice-html5.spec.in Prepare for the 0.17 release 2016-08-17 14:44:46 -05:00
spice.css Style updates to include layout structure, side navigation, hidden menu, consolidation of formatting, button effects, and color shift 2020-09-04 15:34:25 -04:00
spice.html addition of ctrl-alt-delete functionality on side navigation, with associated js eventlistener 2020-09-04 15:37:00 -04:00
TODO Introduce ES6 modules 2019-02-14 12:46:02 -06:00

Spice Javascript client

Instructions and status as of August, 2016.

Requirements:

  1.  Modern Firefox or Chrome (IE will work, but badly)

  2.  A WebSocket proxy

      websockify:
        https://github.com/kanaka/websockify
      works great.

      Note that a patch to remove this requirement has been submitted
      to the Spice project but not yet been accepted.  Refer to this email:
      https://lists.freedesktop.org/archives/spice-devel/2016-June/030552.html

  3.  A spice server


Optional:
  1.  A web server

      With firefox, you can just open file:///your-path-to-spice.html-here

      With Chrome, you have to set a secret config flag to do that, or
      serve the files from a web server.


Steps:

  1.  Start the spice server

  2.  Start websockify; my command line looks like this:
        ./websockify 5959 localhost:5900

  3.  Fire up spice.html, set host + port + password, and click start


Status:

  The TODO file should be a fairly comprehensive list of tasks
  required to make this client more fully functional.