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

Re: [remote-playback] Consistency with Presentation API

From: Mounir Lamouri via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Oct 2016 16:48:10 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-256409111-1477500484-sysbot+gh@w3.org>
The Remote Playback API is a higher level API which explains some of 
these disparities. `start()` and `prompt()` are not the same thing. 
`prompt()` will show a platform specific UI while `start()` should do 
start the connecting process. Calling `start()` while connected means 
that you want to connect to something else. Calling `prompt()` while 
connected, means that you want to show some UI - details of which are 
again platform specific.

Regarding the availability. It was one of the main design discussion 
because we wanted something simpler than `PresentationAvailability`. 
We initially had a design close to `PresentationAvailability` but 
moved away from it based on implementers' feedback.

-- 
GitHub Notification of comment by mounirlamouri
Please view or discuss this issue at 
https://github.com/w3c/remote-playback/issues/57#issuecomment-256409111
 using your GitHub account
Received on Wednesday, 26 October 2016 16:48:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 26 October 2016 16:48:18 UTC