Re: [gupnp] Support for Evented State Variable ?



Title: Re: [gupnp] Support for Evented State Variable ?

Hi,

There is one CTT item that sends five soap requests and changes a value of a state variable(Mute, Volume etc.. for RC Service) five times in one moderation timeout period (200ms), Rygel Renderer sends below packet for such kind of case,

<Event xmlns="urn:schemas-upnp-org:metadata-1-0/RCS/"><InstanceID val="0">
<Volume val="68" channel="Master"/>
<Volume val="73" channel="Master"/>
<Volume val="31" channel="Master"/>
<Volume val="45" channel="Master"/>
<Volume val="82" channel="Master"/>
</InstanceID></Event>

Means it doesn't remove prev values same state variables in a moderation timeout.
It's using libgee HashMap class for creating this packet, looks like  HashMap doesn't override new value to prev one and just appending.

It's different problem, helper class for building LastChange messages also
need to be modified  beside adding Close Connection header to fix this special case.

Mehmet


-----Original Message-----
From: Zeeshan Ali (Khattak) [mailto:zeenix gmail com]
Sent: Thu 12/10/2009 5:21 AM
To: gupnp o-hand com
Subject: Re: [gupnp] Re: Re: [gupnp] Support for Evented State Variable ?

Hi,

> BTW, does Rygel Renderer send the changes one by one from it queue, and it
> will not remove/replace the middle state?

  No, it replaces the old pending state with a new one.

--
Regards,

Zeeshan Ali (Khattak)
FSF member#5124
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]