Bug 8587 - Player subscriptions should be maintained in the Player object
: Player subscriptions should be maintained in the Player object
Status: NEW
Product: SB Controller
Classification: Unclassified
Component: Browser
: unspecified
: PC Windows XP
: -- normal (vote)
: Future
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-27 12:19 UTC by Richard Titmuss
Modified: 2011-11-06 23:25 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Titmuss 2008-06-27 12:19:45 UTC
At the moment all subscriptions are kept in the Comet class. Following a disconnection from SqueezeCenter the Comet object automatically retries the subscriptions.

The problem is it is a race condition between the Controller and Player to see who connects first. If the Controller wins the subscriptions will fail.

This does not cause a problem with the current applets (by chance they have been written to avoid this problem), but it might in the future.

Instead the Player object should maintain the subscription list for the player. When the player is disconnected the subscriptions should be canceled, and it should resubscribe when the Player connects.
Comment 1 Richard Titmuss 2008-07-24 05:02:43 UTC
punting to 7.3
Comment 2 Richard Titmuss 2009-06-09 12:06:29 UTC
Tom we should discuss this, but it's probably not a 8.0 item.
Comment 3 Chris Owens 2010-05-07 10:28:35 UTC
Richard is no longer available to us.
Comment 4 Alan Young 2011-11-06 23:25:03 UTC
Unassigned bugs cannot have a priority.