W3C home > Mailing lists > Public > public-secondscreen@w3.org > November 2016

Re: [remote-playback] Define what should happen when device gets disconnected while playing

From: Mounir Lamouri via GitHub <sysbot+gh@w3.org>
Date: Fri, 11 Nov 2016 17:35:48 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-260011185-1478885746-sysbot+gh@w3.org>
The fact that we encourage websites to stop observing while connected 
doesn't mean that they will do it and they should be able to observe 
the change if they want to.

To be clear, I don't think it's a serious issue but it would be good 
if there was language because this a scenario that will definitely 
happen:
- user is connected to wifi and has a remote playback session
- wifi drops
- `disconnected` event is fired and `availability` callback is called

In my opinion, we should update availability first then fire the event
 so that when the device is disconnected, the website doesn't try to 
reconnect because it thinks some device is available.

-- 
GitHub Notification of comment by mounirlamouri
Please view or discuss this issue at 
https://github.com/w3c/remote-playback/issues/56#issuecomment-260011185
 using your GitHub account
Received on Friday, 11 November 2016 17:35:56 UTC

This archive was generated by hypermail 2.3.1 : Friday, 11 November 2016 17:35:56 UTC