[Spice-devel] Video frame dropping

2011-09-08 Thread Andrea Celestino
Hi, I have a question about video frame dropping on server side. Inside the function red_send_stream_data(), if the condition: if(time_now - agent->last_send_time < (1000 * 1000 * 1000) / agent->fps) is TRUE, the video frame is dropped and then it will be not sent to the client. Shortly, if a fra

Re: [Spice-devel] spice-gtk hangs

2011-09-08 Thread Marc-André Lureau
Hi - Original Message - > Hi there, > > I've created a simple viewer application in Python, using the > spice-gtk library. It seems to be suffering from an issue where it > will occasionally just hang the display, and the only way to get it > back is to close the application and re-connec

[Spice-devel] spice-gtk hangs

2011-09-08 Thread Damien Churchill
Hi there, I've created a simple viewer application in Python, using the spice-gtk library. It seems to be suffering from an issue where it will occasionally just hang the display, and the only way to get it back is to close the application and re-connect. Is this something anyone else has experien

[Spice-devel] is there any plan to dev web-version spice-client ?

2011-09-08 Thread 李彪
hi, considering the HTML5 technology, is there any plan to develop web-version spice-client ? or is there already open source project focus on it ? Thanks Thomas___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.or

Re: [Spice-devel] [RFC] server: add main_dispatcher

2011-09-08 Thread Marc-André Lureau
Hi On Thu, Sep 8, 2011 at 11:38 AM, Alon Levy wrote: > On Thu, Sep 08, 2011 at 11:26:00AM +0200, Hans de Goede wrote: >> Hi, > > ok. I guess I'll add an assert (not ASSERT). I'm still looking at the > pulseaudio IPC - it looks > like asyncmsgq is good for what we need - it's meant for multiple w

Re: [Spice-devel] [RFC] server: add main_dispatcher

2011-09-08 Thread Alon Levy
On Thu, Sep 08, 2011 at 02:24:32AM +0200, Marc-André Lureau wrote: > Hi Alon, > > On Thu, Sep 8, 2011 at 1:17 AM, Alon Levy wrote: > > --- > >  server/Makefile.am       |    2 + > >  server/main_dispatcher.c |  132 > > ++ > >  server/main_dispatcher.h

Re: [Spice-devel] [RFC] server: add main_dispatcher

2011-09-08 Thread Alon Levy
On Thu, Sep 08, 2011 at 11:26:00AM +0200, Hans de Goede wrote: > Hi, > > On 09/08/2011 11:18 AM, Alon Levy wrote: > >On Thu, Sep 08, 2011 at 10:58:41AM +0200, Hans de Goede wrote: > >>Hi, > >> > >>On 09/08/2011 09:31 AM, Gerd Hoffmann wrote: > >>>Hi, > >>> > >simple object system, not unions).

Re: [Spice-devel] [RFC] server: add main_dispatcher

2011-09-08 Thread Hans de Goede
Hi, On 09/08/2011 11:18 AM, Alon Levy wrote: On Thu, Sep 08, 2011 at 10:58:41AM +0200, Hans de Goede wrote: Hi, On 09/08/2011 09:31 AM, Gerd Hoffmann wrote: Hi, simple object system, not unions). Just an idea, could be changed later perhaps. socketpair is probably fine. First of all I see

Re: [Spice-devel] [RFC] server: add main_dispatcher

2011-09-08 Thread Alon Levy
On Thu, Sep 08, 2011 at 10:58:41AM +0200, Hans de Goede wrote: > Hi, > > On 09/08/2011 09:31 AM, Gerd Hoffmann wrote: > >Hi, > > > >>>simple object system, not unions). Just an idea, could be changed > >>>later perhaps. socketpair is probably fine. > >> > >>First of all I see I forgot to add a mut

Re: [Spice-devel] [RFC] server: add main_dispatcher

2011-09-08 Thread Alon Levy
On Thu, Sep 08, 2011 at 09:31:33AM +0200, Gerd Hoffmann wrote: > Hi, > > >>simple object system, not unions). Just an idea, could be changed > >>later perhaps. socketpair is probably fine. > > > >First of all I see I forgot to add a mutex, since I said "any non main > >thread", right > >now we

Re: [Spice-devel] [RFC] server: add main_dispatcher

2011-09-08 Thread Hans de Goede
Hi, On 09/08/2011 09:31 AM, Gerd Hoffmann wrote: Hi, simple object system, not unions). Just an idea, could be changed later perhaps. socketpair is probably fine. First of all I see I forgot to add a mutex, since I said "any non main thread", right now we only have one, so no need to lock,

Re: [Spice-devel] [RFC] server: add main_dispatcher

2011-09-08 Thread Gerd Hoffmann
Hi, simple object system, not unions). Just an idea, could be changed later perhaps. socketpair is probably fine. First of all I see I forgot to add a mutex, since I said "any non main thread", right now we only have one, so no need to lock, but the idea is that it can also be called from