-
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.
Recover from timed-out Cast connection
When a mobile device goes idle, the Cast connection can be terminated without explicitly closing it. When this happens, the Cast session is unusable and throws exceptions. This changes CastSender to correctly detect and recover from such a problem by disconnecting explicitly and dispatching an Error to the application. This also fixes the disconnection process so that playback can be correctly resumed on the local device. Closes #2446 Change-Id: I59f51a1e911199eee22693e7db4ab39855de0298
- Loading branch information
1 parent
6a04bde
commit 2f6ed0e
Showing
2 changed files
with
132 additions
and
13 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