Re: [Spice-devel] Streaming video detection

2011-07-06 Thread Andrea Celestino
I am studying red_send_stream_data() function. I have the stable version of spice 0.8.1. A the end of this function there are some line that I don't understand totally: red_channel_init_send_data(channel, SPICE_MSG_DISPLAY_STREAM_DATA, NULL); SpiceMsgDisplayStreamData stream_data; stream_data.id

Re: [Spice-devel] Streaming video detection

2011-07-06 Thread Christophe Fergeau
On Tue, Jul 05, 2011 at 12:30:29PM +0200, Andrea Celestino wrote: > I have read the document "spice_for_newbies.pdf", that describes how spice > works. > When I play a video on the guest, the video is decoded then the user > application requests the OS graphic engine (X in linux), to perform a > re

Re: [Spice-devel] Streaming video detection

2011-07-06 Thread Andrea Celestino
Please, I would like to know if what I wrote in my previous message it's correct. Thanks. Regards. 2011/7/5 Andrea Celestino > I have read the document "spice_for_newbies.pdf", that describes how spice > works. > When I play a video on the guest, the video is decoded then the user > application

Re: [Spice-devel] Streaming video detection

2011-07-05 Thread Andrea Celestino
I have read the document "spice_for_newbies.pdf", that describes how spice works. When I play a video on the guest, the video is decoded then the user application requests the OS graphic engine (X in linux), to perform a rendering operation. X passes the command to the QXL driver which translates t

Re: [Spice-devel] Streaming video detection

2011-06-30 Thread Christophe Fergeau
Hi, On Thu, Jun 30, 2011 at 04:25:11PM +0200, Andrea Celestino wrote: > -I would like to know what are the SpiceAgent and the StreamClipItem, I see > these two elements in the source code. My understanding is that a StreamAgent is the object which is managing the video streaming. My guess would b

Re: [Spice-devel] Streaming video detection

2011-06-30 Thread Alon Levy
On Thu, Jun 30, 2011 at 04:25:11PM +0200, Andrea Celestino wrote: > Hi > I am studying the source code and how spice handles streaming video. Spice > looks for area that are updated with high rate, after that it starts > mjpeg_encoder. > > -I would like to know what are the SpiceAgent and the Stre

[Spice-devel] Streaming video detection

2011-06-30 Thread Andrea Celestino
Hi I am studying the source code and how spice handles streaming video. Spice looks for area that are updated with high rate, after that it starts mjpeg_encoder. -I would like to know what are the SpiceAgent and the StreamClipItem, I see these two elements in the source code. -When spice detects v