I'm using castcompanionlibrary on android to cast videos to a chromecast receiver. I use youtube iframe on the receiver side.
I used to call cast.receiver.CastReceiverManager.getInstance.start()
in the html header before initializing youtube iframe and body and somehow I got 10% of the users having 2005 error which is "APPLICATION_NOT_RUNNING".
I then change to call cast.receiver.CastReceiverManager.getInstance.start()
after header and body and youtube iframe, then I got 10% of the users having 15 which is "TIMEOUT" error.
I want to ask why and how the client got the TIMEOUT error. Is it because receiver is too slow to start since I start it after body and other js files are loaded? Or could it be the body has too many images and divs which takes time to load?
Thanks