How can i switch back to TV ( starting from a Google Cast with Chromecast ) when cast stop?
Switching from TV trasmissions to Cast is very simple. I'm not able to switch back from Cast to TV trasmissions when the cast finish.
How can i implement this feature?
Unfortunately this isn't possible to do right now. The control of the TV happens through HDMI-CEC, something which is handled by the firmware on the Chromecast and isn't exposed to either the sender or the receiver APIs. Lots of requests have been made to add such a feature to the SDK, but nothing yet exists.