Is There A Way To Manually Set The Applicationsession Network Timeout For Android Chromecasting?
I'm sending a MediaProtocolMessageStream.loadMedia command to my receiver. After a few seconds my session ends with a 'network I/O timeout' with channel=SessionError.CATEGORY_DISC
Solution 1:
Timeout value cannot be adjusted by application. It would help us to understand what is causing the timeout in your case. Timeout happens when either the sender does not reply to the receiver's ping requests in a timely manner, or when the sender has not received a ping from the receiver for a certain length of time. It might be the case that the media you are trying to load is tying up the CPU on the receiver so that it can't send its ping request to the sender. Do you see anything in the sender's log similar to "timeout waiting for ping" or so?
Post a Comment for "Is There A Way To Manually Set The Applicationsession Network Timeout For Android Chromecasting?"