mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-18 16:36:56 +03:00
2f6ed0eb77
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