Go to file
Christophe Fergeau f9f700ee54 display: Only use display channel with id 0
spice-html5 does not support multiple display channels, and will only
use the first one offered by spice-server, and ignore the others. This
can cause issues when using a VM with a configured but unused
org.spice-space.stream.0 spice port as this will create a 'fake' display
channel which is offered by spice-server before the usual qxl display
channel.
This commit favours the display channel with id 0 rather than picking
the first one.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2018-07-19 14:43:39 +02:00
thirdparty Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05: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 Handle non topdown bitmaps 2017-03-07 15:11:44 -06:00
COPYING initial 2012-06-04 17:22:01 +03:00
COPYING.LESSER initial 2012-06-04 17:22:01 +03:00
cursor.js Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
display.js display: Dump bitmap metadata in log_draw() 2018-07-18 09:12:43 +01:00
enums.js Basic SPICE port implementation 2016-10-10 13:52:41 +02:00
filexfer.js filexfer: Remove wrongly placed semicolon 2016-05-04 10:19:24 -05:00
inputs.js Use WheelEvent instead of MouseWheelEvent 2015-01-15 12:56:20 -06:00
lz.js Handling non-topdown lz_rgb 2017-03-07 15:11:15 -06:00
main.js display: Only use display channel with id 0 2018-07-19 14:43:39 +02:00
Makefile No longer install apache.conf, just put it in the doc folder. 2013-02-20 11:09:37 -06:00
playback.js Condense the playback queue before adding to the Media Buffer. 2017-01-10 11:24:29 -06:00
png.js initial 2012-06-04 17:22:01 +03:00
port.js Basic SPICE port implementation 2016-10-10 13:52:41 +02:00
quic.js quic: Add missing break 2016-05-04 10:19:26 -05:00
README Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
resize.js Add checkbox to toggle debug console 2017-06-22 12:54:20 +02:00
simulatecursor.js Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
spice_auto.html Basic SPICE port implementation 2016-10-10 13:52:41 +02:00
spice-html5.spec.in Prepare for the 0.17 release 2016-08-17 14:44:46 -05:00
spice.css Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
spice.html Add checkbox to toggle debug console 2017-06-22 12:54:20 +02:00
spicearraybuffer.js Extend the native ArrayBuffer to add a slice() method if missing. 2013-04-16 14:59:08 -05:00
spiceconn.js If MediaSource is not available, do not report the vp8 or opus caps. 2016-10-10 11:29:57 -05:00
spicedataview.js Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
spicemsg.js Basic SPICE port implementation 2016-10-10 13:52:41 +02:00
spicetype.js Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
ticket.js initial 2012-06-04 17:22:01 +03:00
TODO Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
utils.js Use empty image instead of null to avoid warnings 2016-10-10 11:30:28 -05:00
webm.js Revise sound packet time sequencing for a more recent Firefox. 2016-10-03 09:37:56 -05:00
wire.js Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05: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.