mconf / bigbluebutton-api-ruby

BigBlueButton API gem for Ruby
Other
49 stars 42 forks source link

login/logout times of user #7

Closed nekapoor closed 10 years ago

nekapoor commented 10 years ago

Hello!

Let's say we have a BBB classroom open and two users in it: a tutor and a student. Now, for example, because of some technology issue, the student is prematurely kicked out of the classroom and has to rejoin.

If I was to get the meetingInfo, would it be able to tell me that there is only 1 person in that room or will it always return that there are 2 because both the tutor and student had, in fact, logged in at some point in time?

Or put another way, is there in realtime, any way to detect how many users are ACTUALLY in the BBB classroom?

Thank you!

daronco commented 10 years ago

Any API call will give you the information of what's happening in the server in that specific moment. They are in real-time. This is the way BigBlueButton's API was developed, not something specific for this library. It doesn't store the history of what happened in the room, it simply returns what's the current state.

So, if somebody is kicked and then you call getMeetingInfo, this person will not be in the response.