Hello,
For easyrtc audio+video application I am facing problem for asynchronous functionality for:
easyrtc.setRoomOccupantListener and successCallBack of easyrtc.connect() or easyrtc.easyApp()
The Problem I am facing is, inside listener the perform call is called even before the login success if happens for self easyrtc id.
Is there any way to check setRoomOccupantListener and successCallBack of easyrtc.connect() or easyrtc.easyApp(), to make them in sync.
I tried to check using:
easyrtc.getConnectStatus(clientEasyrtcid) == easyrtc.IS_CONNECTED
and
easyrtc.getConnectStatus(clientEasyrtcid) == easyrtc.NOT_CONNECTED
But in this case I get other easyrtc id is not connected everytime. Because successCallBack is not yet called and selfeasyrtid is not yet generated.
Please suggest any solution for the same.
Regards,
Mandar Pandit.