getPeersInRoom will return a null object when the room has not been created yet. There needs to be at least 1 peer in the room for it to return a non null object.
Why do I get a null object when I call the function getPeersInRoom() Print
Modified on: Wed, 31 Jul, 2019 at 1:11 PM
Did you find it helpful?Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.