- From: Jonas Sicking <jonas@sicking.cc>
- Date: Thu, 6 Aug 2015 17:43:56 -0700
- To: public-secondscreen@w3.org
Hi All, In a recent call between Google and Mozilla we discussed some details of how it would work when multiple parties wanted to join an application running on the TV. In that call consensus was that it would be good if the connecting party could opt in to the ability to join an already running application. So we would have two modes: By default, when a session is start()ed, it always replaces any running applications on the TV. If the existing origin is already open on the TV, it shuts down the current page, disconnects any existing session, opens the requested URL and establishes only the new session. However, when the session is initiated, the initiating page can opt in to enabling joining an already running application. If the application is not running, then whatever application is running is shut down, its connections disconnected, and the new application is started. But if the application is running, then we simply fire the "sessionconnect" event. We should probably enable this opt-in through an additional argument to the PresentationSession constructor. We could also do it as an additional argument to the start() function, but that would mean that it can't be used for default sessions. / Jonas
Received on Friday, 7 August 2015 00:44:53 UTC