W3C home > Mailing lists > Public > public-secondscreen@w3.org > August 2015

What does getSessions return?

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 6 Aug 2015 17:43:53 -0700
Message-ID: <CA+c2ei_E-5fyUMajc=WQj87uvw1j6tMRY1LMc5pQYzppYw4Evg@mail.gmail.com>
To: public-secondscreen@w3.org
Hi All,

It's not clear to me if getSessions returns only sessions that were
received by a presenting browsing context? Or if it also contains
sessions that were created by the same page calling start() on a

In theory you could imagine an application which opens a page on a TV,
and then that page on the TV opens another page on a second TV. For
example in a conferance system where you display slides on one TV, and
then those slides display a video on a second TV.

Or a video conferance system which connects to a TV to display the
people you are conferencing with. The TV could then try to connect to
other TVs in order to distribute the videos of conference members to
other TVs.

If I read the spec correctly, the "set of presentations" concept
contains both incoming and outgoing sessions. Is there a reason for
that? I'd prefer if it only contained incoming sessions. If there's a
use case for accessing all outgoing sessions (are there?) we could
always add separate API for accessing those.

/ Jonas
Received on Friday, 7 August 2015 00:44:51 UTC

This archive was generated by hypermail 2.3.1 : Friday, 7 August 2015 00:44:51 UTC