[tvcontrol-api] Management of underlying resources

chrisn has just created a new issue for 
https://github.com/w3c/tvcontrol-api:

== Management of underlying resources ==
As raised on the mailing list 
[here](https://lists.w3.org/Archives/Public/public-tvapi/2016Jun/0001.html):

> We at Broadcom have implemented TV stack following TV control API
Specification
(https://www.w3.org/2015/tvapi/Overview.html).

> We have usecases involving multiple modules that requires TVTuner. 
We need some clarification on how to use the apis to handle the 
following scenario.

> Scenario: There are two modules A and B. There is one tuner, tuner1.
Module A uses tuner1 and performs its functionality.
Module A is finished with its function and release tuner1.
Module B now wants to be able to use same tuner1 to acheive a 
different functionality.

> Module A could find tuner1 using TVManager::getTuners()
But, once it is done using tuner1, how can moduleA inform TVManager 
that tuner1 is free so that moduleB can find tuner1 using 
TVManager::getTuners().

> We see there is ontunerchanged event. But how can TVManager be aware
 when
module A has finished using tuner1 in order to fire ontunerchanged 
event.
Is there any api ModuleA can call to inform TVManager that tuner1 is 
free?

Are changes needed to the specification to support this scenario?

Please view or discuss this issue at 
https://github.com/w3c/tvcontrol-api/issues/3 using your GitHub 
account

Received on Monday, 11 July 2016 07:30:22 UTC