DIAL with Cobalt

913 views Asked by At

Cobalt can default load the URL. We are investigating how to add the DIAL paring code to the URL. Maybe it needs a changeURL API for avoiding re-launching YouTube.

// Restrict navigation to a couple of whitelisted URLs by default.
const char kYouTubeTvLocationPolicy[] =
"h5vcc-location-src "
"https://www.youtube.com/tv "
"https://web-release-qa.youtube.com/tv "

[scenario]

  1. launch YTTV with your remote controller
  2. open YouTube app on your phone
  3. try to pairing to TV
1

There are 1 answers

7
David Ghandehari On

Cobalt currently doesn't implement DIAL smooth-pairing once launched, but it does support being launched with alternate query parameters via the --url= command-line parameter.

For example:

https://www.youtube.com/tv?...anything...

Will pass the navigation whitelist.

Full implementation of smooth-pairing support is planned for Q1 2017.