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
Pavel Grunt
789071cbfa
Set nonhandled messages as not implemented
...
Avoid spamming log
2015-09-09 09:05:05 +02: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
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
Pavel Grunt
ff42bc7399
Add button for cancelling file transfer
2015-01-16 10:06:35 -06:00
Pavel Grunt
8d1ea67789
Add progress bar for file transfer
2015-01-16 10:06:34 -06: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
566e4acc39
Read file only when have agent tokens
...
Stop reading a file when there are no tokens,
continue reading it when tokens arrive.
2015-01-15 09:00:03 -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
633f01050b
Split agent data message into smaller chunks
...
Allowed size for SPICE_MSGC_MAIN_AGENT_DATA message is 2048 Bytes,
larger messages have to be splitted.
2015-01-15 08:59:55 -06:00
Pavel Grunt
1a4a98938a
Send agent messages only when have agent tokens
...
Messages that were not sent are stored in the queue.
They will be sent later when the client receives more agent tokens.
2015-01-15 08:58:36 -06:00
Pavel Grunt
21e5c282ba
Handle agent tokens
2015-01-15 08:58:30 -06:00
Jeremy White
dea87ff943
Use a modern number of agent tokens.
...
This keeps an XSpice server from spin looping, which it will do if
data is presented, but num_send_tokens == 0.
2014-10-29 16:33:29 -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
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