Might be worth looking in the preference settings or similar for the Chrome Cast and to also look in your Battery and Device Care , Battery, Background Usage Limits, Never Sleep Apps and put it in there.
Daily Driver > Samsung Galaxy s²² Ultra 256Gb in Phantom Black.
The advice I offer is my own and does not represent Samsung’s position.
I'm here to help. " This is the way. "