Go to file
Vladik Romanovsky 293d405e15 Use wss scheme when accessing with https protocol
Hi,

Currently the websocket connection is only being established using
the ws scheme.
Adding support for wss scheme when using https protocol to allow
ssl connection.
2014-08-01 10:34:30 -05:00
thirdparty initial 2012-06-04 17:22:01 +03:00
.gitignore Add the ability to build an rpm. 2013-02-11 09:17:53 -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
atKeynames.js work to improve keyboard keycode -> scancode processing 2012-08-17 13:54:53 +03:00
bitmap.js initial 2012-06-04 17:22:01 +03:00
COPYING initial 2012-06-04 17:22:01 +03:00
COPYING.LESSER initial 2012-06-04 17:22:01 +03:00
cursor.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
display.js Implement handling of SPICE_MSG_DISPLAY_INVAL_LIST 2013-09-18 09:06:07 -05:00
enums.js Add support for audio streams using the Opus encoding. 2014-05-20 12:59:27 -05:00
inputs.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
lz.js support decompressing LZ_IMAGE_TYPE_XXXA images 2012-10-11 17:32:55 -05:00
main.js Add support for audio streams using the Opus encoding. 2014-05-20 12:59:27 -05:00
Makefile No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
playback.js Add support for audio streams using the Opus encoding. 2014-05-20 12:59:27 -05:00
png.js initial 2012-06-04 17:22:01 +03:00
quic.js quic: implemenet QUIC_IMAGE_TYPE_RGBA decoding 2012-09-24 11:03:13 -05:00
README initial 2012-06-04 17:22:01 +03:00
simulatecursor.js Provide two levels of workaround for IE 10 cursor support. 2013-04-19 11:36:41 -05:00
spice_auto.html Use wss scheme when accessing with https protocol 2014-08-01 10:34:30 -05:00
spice-html5.spec.in Add changelog for 0.1.4 2013-09-19 11:10:02 -05:00
spice.css initial 2012-06-04 17:22:01 +03:00
spice.html Add support for audio streams using the Opus encoding. 2014-05-20 12:59:27 -05:00
spicearraybuffer.js Extend the native ArrayBuffer to add a slice() method if missing. 2013-04-16 14:59:08 -05:00
spiceconn.js Add support for audio streams using the Opus encoding. 2014-05-20 12:59:27 -05:00
spicedataview.js implement and use a new dataview getUint64 2013-09-18 09:06:03 -05:00
spicemsg.js Add support for audio streams using the Opus encoding. 2014-05-20 12:59:27 -05:00
spicetype.js implement and use a new dataview getUint64 2013-09-18 09:06:03 -05:00
ticket.js initial 2012-06-04 17:22:01 +03:00
TODO Update the todo 2014-06-05 08:31:24 -05:00
utils.js Tweak hexdump to not generate new lines. 2014-05-20 12:30:48 -05:00
webm.js Add support for audio streams using the Opus encoding. 2014-05-20 12:59:27 -05:00
wire.js initial 2012-06-04 17:22:01 +03:00

Prototype Spice Javascript client

Instructions and status as of June 1, 2012.

Requirements:

  1.  Modern Firefox or Chrome
      
  2.  A WebSocket proxy

      I've used websockify:
        https://github.com/kanaka/websockify
      works great.


  3.  A spice server

      At this point, I've tested with qemu hosting
      a Fedora image, a Vista image, and with Xspice.  
      Vista was pretty bad; I recommend either Linux or Xspice.

      ** Xspice has a processing issue; see this email:
         http://lists.freedesktop.org/archives/spice-devel/2012-May/009020.html


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.

  As of June 1, 2012, this client is a nifty proof of concept,
  but a long way from being a useful production tool.