-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store and re-use session_ in CastSender.
The cast sender API doesn't seem to be able to re-use an existing session unless you reload the page. This stores the old session, so that it can be re-used without reloading the page. In order to enable this, CastProxy.destroy no longer leaves the current session; I figure if you want to leave the session, you'll call forceDisconnect. That part I am not fully sure about; perhaps it would be better to have a separate optional argument about whether or not to leave, or make it a part of the forceDisconnect argument. Issue #768 Change-Id: Ie648372cea4b106ff85df3d0dcc563fca5d10d8c
- Loading branch information
Showing
3 changed files
with
112 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters