Commit Graph

16 Commits

Author SHA1 Message Date
Oliver Gutierrez
411cdc5dfd Fixed syntax error in debugger command.
Debugger is not an object or command. It is a reserved word and
"DEBUG > 0 &&" syntax does not work with it
2016-09-08 14:57:33 +02:00
Oliver Gutierrez
53b6063f51 Added debug filtering to avoid debugger to start when using in production 2016-09-06 18:13:03 +02:00
Pavel Grunt
579f2bfb27 spiceconn: Set channel id
Allow to work with more channels of one type

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=97575

Acked-by: Victor Toso <victortoso@redhat.com>
2016-09-06 18:12:08 +02:00
Jeremy White
3778053138 Add support for the vp8 codec type. 2016-07-13 10:41:07 -05:00
Jeremy White
275850f7e6 Track and make note of requests that take an unusual amount of time. 2016-07-13 10:41:04 -05:00
Pavel Grunt
bd5d261a37 Use name of channel instead of number
For unknown channel types the type number is still used, e.g.:
 "Channel type unknown-12 not implemented"
2015-09-09 09:04:59 +02:00
Pavel Grunt
289a760371 spiceconn.js: Add missing channel names 2015-09-09 09:04:53 +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
Pavel Grunt
6a68399a23 Report SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS capability
We should report that we handle the connected tokens message
by setting the SPICE_MAIN_CAP_AGENT_CONNECTED_TOKENS capability.
2015-01-15 08:58:32 -06:00
Frantisek Kobzik
b926f062f3 SPICE-HTML5: Improve error message
Current error message in SPICE-HTML5 error is poor (error-logging function
prints error.toString() which doesn't contain anything detailed).

This patch enhances this message in the following way:
 - error event contains target attribute ([1]),
 - the code in this patch checks for presence of 'url' attribute (which is
   contained in WebSocket object[2]). If the target contains url then
   meaningful message is logged.

[1]: https://developer.mozilla.org/en-US/docs/Web/API/Event
[2]: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
2014-10-31 15:18:19 -05: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
Jeremy White
c2bb090b16 Ack every message.
The failure to ack pings led to a nasty bug whereby an inactive client hangs.
The relatively recent change to monitor latency with ping exposed this bug.
2013-08-27 17:46:47 -05:00
Amos Benari
ec9ae0cbd6 added on succeess event 2013-03-19 09:00:38 -05:00
Jeremy White
f8f622157c initial 2012-06-04 17:22:01 +03:00