Search code examples
androidcallquickblox

Not able to get the call status from quickblox


I have integrated calling in my app with quickblox sdk but I am not able to retrieve the status when I am trying to call a user and that user is busy on another call. Anyone knows, please drop the comments!!


Solution

  • For a case when the opponent is busy on another call, use this callback:

    /**
     * Called in case when opponent has rejected you call
     */
    void onCallRejectByUser(QBRTCSession session, Integer userID, Map<String, String> userInfo);
    

    What happens in this case is that the opponent receives a new session when the initiator is calling, so he will reject it if busy on another call.

    You can check the full list of callbacks to track session status here.