What does getSessions return?

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
PresentationRequest?

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