Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

problem in getting number of joined members in room #529

Open
smacrs-development opened this issue Mar 14, 2020 · 0 comments
Open

problem in getting number of joined members in room #529

smacrs-development opened this issue Mar 14, 2020 · 0 comments

Comments

@smacrs-development
Copy link

I have been in this issue for days, and I tried everything I know

here is the method that return always 0

`public int getNumberOfJoinedMembers() {
if (getDataHandler().isLazyLoadingEnabled()) {
RoomSummary roomSummary = getRoomSummary();

        if (roomSummary != null) {
            return roomSummary.getNumberOfJoinedMembers();
        } else {
            // Should not happen, fallback to loaded members
            return getNumberOfLoadedJoinedMembers();
        }
    } else {
        return getNumberOfLoadedJoinedMembers();
    }
}`

this method called when I try to make voice call

I have called all methods to make sure it loads room member and it loads it
I tried

  • syncFromToken
  • getRoomMembers
  • getJoinedMembersAsync
  • getMembersAsync

and all of them return correct data, but after that when I call createCallInRoom I always get error because number of joined members = 0

room summary is always = null

can anyone help please ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant