'reconnect chromecast if lost connection via chrome built in chrome cast feature

I'm casting a google calendar page (so there is auth involved) to chrome cast via the chrome browser Cast.. feature - but occasionally it loses the connection.

Is there any chrome extension or other way that I can detect this lost connection and reconnect and send it to this specific chrome cast device.

The Chrome browser is always on - it's a chromebook tablet.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source