mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-html5
synced 2026-01-07 06:05:11 +00:00
We previously had a fairly crude 'gap detection', but browsers are largely supporting the modern buffer semantics, and we can now rely on them to detect under runs for us. This improves audio in Chrome while playing large videos. |
||
|---|---|---|
| thirdparty | ||
| .gitignore | ||
| apache.conf.sample | ||
| atKeynames.js | ||
| bitmap.js | ||
| COPYING | ||
| COPYING.LESSER | ||
| cursor.js | ||
| display.js | ||
| enums.js | ||
| filexfer.js | ||
| inputs.js | ||
| lz.js | ||
| main.js | ||
| Makefile | ||
| playback.js | ||
| png.js | ||
| quic.js | ||
| README | ||
| resize.js | ||
| simulatecursor.js | ||
| spice_auto.html | ||
| spice-html5.spec.in | ||
| spice.css | ||
| spice.html | ||
| spicearraybuffer.js | ||
| spiceconn.js | ||
| spicedataview.js | ||
| spicemsg.js | ||
| spicetype.js | ||
| ticket.js | ||
| TODO | ||
| utils.js | ||
| webm.js | ||
| wire.js | ||
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.