Taufan W
Dec 05, 2018
8:33 am

Non Master automatically left session


We have problem participant (non master) suddenly left session when idle approximately 10 minute.

Is the participant session have timeout ? if yes, what api to set timeout? so participant do not left session automatically after 10 minute when idle



Jenna Slomowitz
Dec 05, 2018
8:01 pm

Hello Taufan,

I am not entirely sure what you are asking, but there is a setScreenTimeout API which allows you to control the amount of time it takes for the device to timeout. 

Best regards,



Hello Jenna.S

Thank you for quick reply . Sorry if my question is not clear.

What i mean is. After Participant join session (who session is created by Master) using this API

SessionManageAgent sessionManager = (SessionManageAgent) agentManager.getAgent(AgentConstant.SESSION_MANAGING_AGENT);
sessionManager.joinSession(id, name, password, sessionAnnounceInfo, timeoutSecs);

Then the Participant idle approximately for 10 min. In my application suddenly participant will left the Session , without any calling API.

My Question:

1. Is this behaviour is normal?

2. If is this the normal behaviour. Where can i increase the timeout? to delay the participant left session when idle.


Thank you






Taufan WDec 06, 2018 at 1:44 am
Jenna Slomowitz
Dec 10, 2018
7:35 pm

Hello Taufan,

Could you please send device logs? Instructions for taking logs are here.

We suspect that the issue is due to the battery optimazation feature of the OS. When the application is in an idle state, packages from Master stop being received which eventualyl causes a timeout. A potential solution is to add the application to the Doze whitelist: https://developer.android.com/training/monitoring-device-state/doze-standby#support_for_other_use_cases.

Best regards,