Commit Graph

24 Commits

Author SHA1 Message Date
Jeremy White
f29dcf4350 Display stream creation and destruction at debug level 1.
They are low frequency, useful messages and should be seen
more readily.
2016-12-15 10:45:56 -06:00
Jeremy White
ef3807908d Show the timeupdate events at stream debug level 2, not level 1.
They are fairly noisy, and more appropriate to the
more detailed level.
2016-12-15 10:45:23 -06:00
Jeremy White
bed406adf3 Protect against an mjpeg stream image draw occuring after stream destruction. 2016-10-10 11:31:04 -05:00
Jeremy White
42134d3e56 Use empty image instead of null to avoid warnings 2016-10-10 11:30:28 -05:00
Jeremy White
b474c300a8 Improve stream debug messages slightly. 2016-10-10 11:29:51 -05:00
Jeremy White
57134818c3 Do not wait for the source buffer open callback to start stream creation.
Otherwise, we end up discarding stream data messages, and our decode
can become corrupted, notably on Chrome.

This way, we should not lose any messages while we are waiting for
source buffer creation.
2016-10-10 11:29:44 -05:00
Oliver Gutierrez
1f4959e3c2 Fixed trailing whitespaces in several files 2016-09-28 15:03:48 -05:00
Jeremy White
a8c406377e Send stream process reports after we have processed them.
Previously, we sent them strictly upon receipt.  However, receiving
is fast; by adding in some of the processing time (i.e. queueing and
so on), we encourage the adaptive rate control to slow down.
2016-07-13 10:41:08 -05:00
Jeremy White
3778053138 Add support for the vp8 codec type. 2016-07-13 10:41:07 -05:00
Pavel Grunt
789071cbfa Set nonhandled messages as not implemented
Avoid spamming log
2015-09-09 09:05:05 +02:00
Pavel Grunt
302b782e77 display.js: Remove unreachable return 2015-09-09 09:04:39 +02:00
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
Jeremy White
e542bda56f Minor change to error message formating. 2015-06-04 15:41:36 -05:00
Pavel Grunt
84171b2406 Use WheelEvent instead of MouseWheelEvent
MouseWheelEvent is deprecated and not working in Firefox.
2015-01-15 12:56:20 -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
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
Jeremy White
366c0a3fca Give the Garbage collector a clue to recycle images; avoids
fairly massive memory leaks during video playback.
2013-09-12 10:13:47 -05:00
Jeremy White
bcffac0aa4 Provide two levels of workaround for IE 10 cursor support.
The first approach is to use a moving image to simulate the cursor.
This does not work well, so a second approach, involving static
cursors is provided.  That requires a site administrator to precreate
all the cursors that can be used by a particular application set.

A warning message strongly suggests using a different browser as well.
2013-04-19 11:36:41 -05:00
Aric Stewart
0334423258 support loading SPICE_IMAGE_TYPE_JPEG_ALPHA image types
the alpha layering is not well tested

Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-10-11 17:37:10 -05:00
Aric Stewart
468869812f support decompressing LZ_IMAGE_TYPE_XXXA images
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-10-11 17:32:55 -05:00
Aric Stewart
b4ab3ac5e9 rewrite quic.js to be a native javascript implementation
There remain a few TODOs including implementing more than just rgb32 images

Signed-off-by: Aric Stewart <aric@codeweavers.com>
2012-09-13 18:32:38 +03: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
Jeremy White
f8f622157c initial 2012-06-04 17:22:01 +03:00