Re: [tvcontrol-api] Why retrieve a list of tuners instead of just one tuner?

>  I'm still not clear what a Web app can do with such a list in 
practice, without meaningful information to display to the user. Is it
 going to parse the list of channels that each tuner exposes to select
 the tuner it wants to use? How would it know?

The Web app will have some meaningful information, in that it has the 
name and logical channel number of each channel.  It may also choose 
to combine this with information from another source (e.g. EPG data 
that it's retrieved via XHR).

> Right, note that I was not suggesting to only drop the function, but
 also to replace it with a getTuner function that would return only 
one TVTuner instance. The TVTuner instance is the one that provides 
access to a list of channels and EPG data (through another TVSource 
level).

At the moment, I'm not 100% clear on the difference between a 
`TVTuner` and a `TVSource`.  I'm probably missing something but it's 
not clear which of the two represents an actual, physical tuner.  The 
spec as it is written implies that a `TVSource` object actually 
represents a physical tuner (since this is what a web app will use to 
tune to a specific channel, and which is associated with a specific 
delivery system and standard (e.g. DVB-S, ATSC or another).  

If this is the case, I'm not sure what it means to have multiple 
'TVTuner' objects - the only case I could think of would be a PC which
 has multiple TV tuner devices attached, where each device has a 
separate `TVTuner` instance. For a typical STB or TV, I would expect 
that the user agent would have a single `TVTuner` instance, which 
exposed a `TVSource` for each physical tuner in the device. This is an
 implementation question, though, and so my expectation may not be 
correct. 

Depending on how correct my assumptions above are, it may be that it 
would be more useful to have a function that gets a `TVSource' of a 
specific type.

As I said, though, I could easily be missing something important, so 
any clarifications are welcome if I have missed anything!

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

Received on Monday, 11 July 2016 14:03:11 UTC