[Spice-devel] Streaming video detection
celestino.andrea at gmail.com
Tue Jul 5 03:30:29 PDT 2011
I have read the document "spice_for_newbies.pdf", that describes how spice
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
the OS commands to QXL commands and push them into a command ring. libspice
pulls this command and adds them to the graphic command tree. The command
tree is used to detect video stream, so starts mjpegencoder, encode each
frame indipendently and send it to the client as image(because each frame is
a jpeg image) with a spice protocol message.
Is it correct?
2011/6/30 Christophe Fergeau <cfergeau at redhat.com>
> 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
> > 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 be that StreamClipItem describes which
> parts of the full screen are to be streamed as video.
> But I'm not really familiar with that code, hopefully someone will clear up
> any misunderstanding here :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Spice-devel