I guess my phone sends a request that makes the devices broadcast their status which is also picked up by the cast-web-api.
Why does the cast-web-api think my devices is disconnected? Is there some way I can make it reconnect automatically or just never disconnect my devices?
BTW the assistant functionality is fully reliable for me, but I prefer the device APIs if only I can make it reliable.
Every time my phone goes to sleep I see messages like this:
And the device call returns an empty list. All devices are still working, and I can ping them.
If I wake my phone up again, I see messages like this within a few seconds:
And the api starts working again.
I guess my phone sends a request that makes the devices broadcast their status which is also picked up by the cast-web-api. Why does the cast-web-api think my devices is disconnected? Is there some way I can make it reconnect automatically or just never disconnect my devices?
BTW the assistant functionality is fully reliable for me, but I prefer the device APIs if only I can make it reliable.