HTML5 Client
Spice has a prototype Web client which runs entirely within a modern browser. It is limited in function, a bit slow, and lacks support for many features of Spice (audio, video, agents just to name a few).
A complete TODO list is kept in the source code.
However, it is surprisingly functional, and certainly a useful proof of concept.
Requirements
The browser must support binary WebSockets as well as the binaryType of arraybuffer. As of June, 2012, Firefox 12 and Chrome >= 18 both provided the required features.
Currently, you must also use a WebSocket proxy, as Spice has no built in support for the WebSocket protocol. websockify works great.
You must, of course, also have a Spice server of some kind. It has been tested primarily against Xspice, but it also works with qemu. However, it works better with linux guests than with Windows guests.
To Try It
The following steps should enable you to use the HTML5 Client:
(optional) Obtain the spice-html5 client. See the git page for more details.
Start your spice server. This is left as an exercise for the reader. For the purposes of this set of instructions, we imagine it is running on your localhost at port 5900.
Start websockify websockify/websockify.py 5959 localhost:5900
Point your browser to spice.html and try it!
Be sure to give the hostname where websockify is running and the port number you provided when starting websockify.
HTML5ClientSpice提供了一个原型Web客户端,可在现代浏览器中运行。虽然功能有限且速度较慢,但它是一个有用的验证概念。该客户端需要浏览器支持二进制WebSockets和arraybuffer类型。2012年6月时,Firefox 12和Chrome 18及以上版本已支持这些特性。使用时还需配合WebSocket代理,如websockify。
4万+

被折叠的 条评论
为什么被折叠?



