Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty "roomInfo" and still connecting to offline user #244

Closed
rwmb opened this issue Dec 10, 2024 · 2 comments
Closed

empty "roomInfo" and still connecting to offline user #244

rwmb opened this issue Dec 10, 2024 · 2 comments

Comments

@rwmb
Copy link

rwmb commented Dec 10, 2024

Everytime I run liveConnector.getRoomInfo() it returns an empty object. This is happening for every user I try it with.

roomInfo {
  "prompts": ""
}

Because of this I can't check if the user is online or not like I was doing before, and when I try to connect to an offline user, I get connected even though they are not streaming (not sure if it's related). Everything else is working fine; if the user is online, it connects and works normally; for some users I get the "UserOfflineError", but for other I can still connect even though they are offline.

For this reason I never know if it's connecting to the correct room or not and if it will get any events, which it doesn't if I start the service before the users starts their livestreams.

Any help or workaround?

@rwmb
Copy link
Author

rwmb commented Dec 11, 2024

Testing a bit more (with the exact same code), I've noticed that it's not always that this happens and it's specific to a few users. Now it is returning the complete roomInfo again, but nothing has changed apart from the user making a livestream.

@zerodytrash
Copy link
Owner

fixed by @isaackogan, please update to the latest version (v1.2.1)

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

No branches or pull requests

2 participants