Closed merih-sakarya closed 9 months ago
@merih-sakarya , did you try to change the value of the --group-timeout
option (15 mn by default) at provider side ?
Thank you for your response, @denis99999. I tried changing the value of the --group-timeout option on the provider side from the default 15 minutes, and I can confirm that it resolved the issue. Thanks again for your assistance!
Description When a browser tab containing the DeviceFarmer application is inactive for about 12-15 minutes, the WebSocket connection responsible for streaming screen data stops sending binary image data, even though the connection remains open and ping requests continue.
Steps to Reproduce
Expected Behavior Upon returning to the DeviceFarmer tab, the WebSocket connection should resume sending binary image data, as the connection is still open and actively sending ping requests. The screen stream should continue without any manual intervention.
Actual Behavior After returning to the DeviceFarmer tab, the WebSocket connection remains open and ping requests continue, but binary image data (screen stream) is no longer being received. This suggests a potential issue with how the onScreenInterestLost method handles inactive browser tabs and stops the data stream.
Additional Information
Relevant code snippets:
Relevant log snippets: