Re: TV control API multiple module use case clarification

Hi Chris and Alex,
  Thanks for replying.

In our scenario
module A plays live content locally.
module B streams out live content over home network to other IP client
devices.
module C does recording.
There could be a second instance of module A that does PIP.
There could be multiple instances of module B depending on the number of IP
client devices that wants to play live content.

When a module requests for a tuner, TVManager should be able to grant or
deny depending on availability of tuners.

As Chris mentioned we would come up with possible API that can handle these
scenarios and update it in https://www.w3.org/2016/tvcontrol/

Thanks and regards,
Aginesh

On Wed, Jun 15, 2016 at 8:31 AM, Futasz, Alexander <
alexander.futasz@fokus.fraunhofer.de> wrote:

> Hi Aginesh,
>
>
>
> Interesting scenario you got. Do you think it would be possible to
> elaborate what these Modules A and B are? If you could maybe provide a more
> real-world example that could be very helpful. I think the specification
> currently assumes that there is always a single entity that consumes the
> API, thus no conflict is possible in this scenario.
>
>
>
> Best regards
>
> Alex
>
>
>
> *From:* Aginesh Srinivasan [mailto:aginesh.srinivasan@broadcom.com]
> *Sent:* Dienstag, 14. Juni 2016 20:52
> *To:* public-tvapi@w3.org; selin@mozilla.com; Futasz, Alexander <
> alexander.futasz@fokus.fraunhofer.de>; shkim@etri.re.kr
> *Cc:* David Liu <david.liu@broadcom.com>; Alan Lam <alan.lam@broadcom.com>
> *Subject:* TV control API multiple module use case clarification
>
>
>
> Hi,
>
>     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?
>
>
>
> Could you please clarify if these scenarios can be handled using TVManager
> apis?
>
> If yes how do we have to use the apis.
>
>
>
> Thanks,
>
> Aginesh
>

Received on Friday, 17 June 2016 00:27:17 UTC