w3ctag / design-reviews

W3C specs and API reviews
Creative Commons Zero v1.0 Universal
318 stars 55 forks source link

TV Control API #111

Closed torgo closed 6 years ago

torgo commented 8 years ago

Discussed at London f2f 30-March-2016.

yfuna commented 8 years ago

The tech spec worth to be reviewed for this purpose is: TV Control API Specification

Note that the work items in the TV Control WG scope is incubated in the TV Control API CG. The CG created a spec called TV Control API which is based on an early version of the TV Manager API Mozilla developed. This is an API-based approach but the WG is flexible about methodology: API or URL.

torgo commented 7 years ago

Document has moved to the TV Control WG.

torgo commented 7 years ago

Discussed at Stockholm f2f.

torgo commented 7 years ago

Let's catch up with whoever is working on this at TPAC. @yfuna do you need to hear from us before then?

plinss commented 7 years ago

Will invite WG members to a future call

travisleithead commented 7 years ago

Note, added https://github.com/w3ctag/design-principles/issues/33.

travisleithead commented 7 years ago

Taken up at Tokyo F2F: Main GitHub repo: https://github.com/w3c/tvcontrol-api/

High-level Use Cases Requirements Technical Requirements

travisleithead commented 7 years ago

TAG Review Feedback

Might instead be modeled as a set of requests and responses via fetch():

fetch("https://example.com/services/v1/channels")
   .then((resp) => {
      resp.json().then((channels) => {
         console.log(channels);
      });
   });

Open issues with a design like this involve a standard location for such an RPC interface and a format for the returned data. This seems like a good thing for a TV control interface spec to define, perhaps using a system like JSON Schema

It's also unclear how the event-sending side of this might work, but we're confident that can be overcome in the Foreign Fetch model, perhaps by allowing FF responses to contain MessagePort objects.

@yfuna there's a lot of feedback here, and it might be useful to have a discussion at one of our telecons. If you're interested we can get something scheduled at an upcoming call. Thanks!

torgo commented 7 years ago

Noted semi-factiously in our Boston TAG f2f: We think this API should be able to control the horizontal and control the vertical.

travisleithead commented 7 years ago

Specifically, according to w3c/tvcontrol-api#24, it looks like things are trending in the right direction. Excited to see how this develops.

cynthia commented 7 years ago

I've raised issues on this separately when the initial draft was being minted - those are still open, aside from that not much to add.

Should we close this?

travisleithead commented 7 years ago

From @travisleithead in w3c/tvcontrol-api#24,

At this point, we will likely want to wait and see how this develops, as it seems as if the spec hasn't taken some of the changes you're currently thinking about.

cynthia commented 7 years ago

The group's new charter was rejected, so the group is most likely closing down - meaning this isn't going to ship. I suggest we close this.