Re: [tvcontrol-api] Parental control PIN mechanism

I think this is an example of a deeper question about the split 
between functionality that can be accessed via a web app and 
functionality which can only be accessed outside of the web app (e.g. 
via the device UI or automatically by other software running in the 
device). This covers not just PIN management, but channel scanning and
 (potentially) channel management functions such as re-ordering the 
channel list, as well as some of the functionality related to content 
encryption.  

My personal view is that a lot of this type of functionality should 
not be exposed to the web app at the moment.  We may change our minds 
on this later, but for now I would prefer to reduce the complexity of 
what we're trying to achieve and focus on the key use cases.  Given 
this, in the area of PIN management, I would suggest a method which 
looks something like this:

`Promise<void> unlock (DOMString pin, TVMediaStream stream);`

This gives the app the ability to request that the parental control 
system unlocks presentation of a piece of content giving it any way to
 set the PIN.  There is a debate here about what gets unlocked (one 
specific piece of content or all content for a fixed period, etc.) and
 which object should have this method, but for the moment I'm more 
interested in agreeing the overall principle.

-- 
GitHub Notification of comment by stevem-tw
Please view or discuss this issue at 
https://github.com/w3c/tvcontrol-api/issues/23#issuecomment-259641679 
using your GitHub account

Received on Thursday, 10 November 2016 09:27:23 UTC