Commit Graph

14 Commits

Author SHA1 Message Date
Jeremy White
b76c734d16 Add support for stream reports.
This helps video playback do a slightly better job of keeping up
in the browser.  It's not a dramatic effect, but enough to start making
video playback almost tolerable.
2015-06-04 15:41:48 -05:00
Jeremy White
84562db7e4 Implement support for sized data streams. 2015-06-04 15:41:41 -05:00
Pavel Grunt
54ee82f004 Inform agent about client's capabilities
The client should inform the agent about capabilities
when the connection is established. This avoid receiving unhandled
agent messages.
2015-01-15 12:43:43 -06:00
Pavel Grunt
b9b8567c9d Implement methods for transfering files from client to guest
It is possible to transfer files from the client to the guest
using File API [0] when a spice vd agent is connected.

Methods for the transfer are based on spice-gtk implementation.

[0] http://www.w3.org/TR/file-upload/
2015-01-15 08:59:58 -06:00
Pavel Grunt
21e5c282ba Handle agent tokens 2015-01-15 08:58:30 -06:00
Jeremy White
1d97ec7385 If an agent is attached, enable dynamic resizing of the guest screen. 2014-09-06 10:06:43 -05:00
Jeremy White
6c5f939e23 Add support for audio streams using the Opus encoding.
Requires a browser with MediaSource extension support, and
Opus support for the source buffers.  In practice, that is
Chrome and Firefox.
2014-05-20 12:59:27 -05:00
Aric Stewart
bb746a03de Implement handling of SPICE_MSG_DISPLAY_INVAL_LIST
Also converts the display cache from an array to an object. This is to help enforce proper sparceness of the data as well as make it easier to reliably fully delete a given cache entry without affecting access to the remaining entries.
2013-09-18 09:06:07 -05:00
Aric Stewart
295073a954 implement and use a new dataview getUint64 2013-09-18 09:06:03 -05:00
Jeremy White
3056d62ae2 Send the client cache size correctly in little endian order so we
don't claim to have an infinitely large cache.
2013-09-13 15:39:17 -05:00
Jeremy White
12fe9ebb96 Use document.documentElement.scrollXXX if document.body.scrollXXX is not present.
Provides compatibility for IE10.
2013-04-18 13:04:38 -05:00
Aric Stewart
7ebc4d019a implement handing of MJPEG display streams
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-06 10:11:16 +03:00
Aric Stewart
38ebba8d8a (resend) [spice-html5] Add the scroll to the cursor offset
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-08-17 13:54:50 +03:00
Jeremy White
f8f622157c initial 2012-06-04 17:22:01 +03:00