Popup window

85 views
Skip to first unread message

Massoud Yeganeh

unread,
Mar 2, 2015, 12:37:20 AM3/2/15
to bigbluebu...@googlegroups.com
Hi,

Is possible to possible to pop up a window and when user clicks on 'ok' button (on that window) record the time.

Thanks Fred for your reply on how to record the start/end session time.

We want to record the time when user clicks on'ok' button after we popup the window.

Thanks again.

Chad Pilkey

unread,
Mar 2, 2015, 9:52:37 AM3/2/15
to bigbluebu...@googlegroups.com
I'm not really sure why you would want to open another pop-up. We already have a confirmation window that the moderator has to click to start the recording. You can see the confirmation function here and you could easily add some other logic to it to do other things.

The part that you have to figure out is what you mean by "record the time". Where is it recorded to? What time is actually recorded? In what timezone? What do you plan on doing with the information after you have received it? The answers to these questions are all specific to whatever you are trying to achieve.

Massoud Yeganeh

unread,
Mar 2, 2015, 10:18:10 AM3/2/15
to bigbluebu...@googlegroups.com
Thanks Chad.

Sorry, maybe I was not clear. I was not talking about recording.

After the BBB window opens for teacher and students the application that is using BBB needs to know if users are online. We think if we popup a window (every 15 minutes) and ask the student and tutor to click on 'ok' button the we know they were online and the time. The BBB calls the application and send these information in URL.

Thanks.

Chad Pilkey

unread,
Mar 2, 2015, 10:32:52 AM3/2/15
to bigbluebu...@googlegroups.com
You can call getMeetingInfo from your front-end to find out who is in the meeting. It could get annoying for your users if they have to click "Okay" every 15 minutes. If you really want to go down that path you can make a call from Flash to JavaScript and from there make a call to your front-end application. I would suggest looking at the chat logic for an example https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatMessageRenderer.mxml#L40 and https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/resources/prod/BigBlueButton.html#L77. And for the Alert box you can use the recording confirmation as an example https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/resources/prod/BigBlueButton.html#L77

Massoud Yeganeh

unread,
Mar 3, 2015, 3:29:20 AM3/3/15
to bigbluebu...@googlegroups.com
Thanks again Chad.

We know who is attending.
We need to record the time (when the BBB starts to the end).
The external app sends the names to BBB.
But the App does not know if they completed the session or not.
App needs to know how long they used BBB.


Thanks.


On Monday, March 2, 2015 at 1:37:20 PM UTC+8, Massoud Yeganeh wrote:

Fred Dixon

unread,
Mar 3, 2015, 7:42:28 AM3/3/15
to BigBlueButton-users
Hi Massoud,

> App needs to know how long they used BBB.

There is no user database in BigBlueButton that you can query to ask "How long did user X stay in session Y".  Doing so would put business logic inside the BigBlueButton server and make it more complex to maintain.

Currently, if you want to update your BigBlueButton server, you simple setup a new server and copy over the recordings.  Give this new server the same hostname and shared secret and your done.  There is no data in the server that a 3rd party front-end is depending upon.  This design makes the server easier to upgrade (no need to back up or migrate a database).

There are two API calls that you can use (as a developer in your application) to poll the BigBlueButton server for activity: getMeetings and getMeetingInfo.  

See


and
 

How to determine how long a user has been in a session?  Have your front-end (or a process running on your front-end application) periodically poll the BigBlueButton server for active meetings (using getMeetings) and then, for each meeting, poll for the active users (using getMeetingInfo).  

Poll every 10 minutes, for example.  Each time you poll you'll see new meetings appear and old meetings expire (they are no longer returned in getMeetingInfo).  It's the same for users -- you'll see a user appear in the session and, in a subsequent poll, the user will disappear.

By recording the results, you can keep track of how long a user has been in a session. This approach works for any BigBlueButton server -- you don't need to install anything on the server, just poll it for activity and store the results in a database.

Thereafter, you can use that database for querying how long (within the accuracy of your polling interval) a particular user was in a particular session or all sessions.

Regards,... Fred 

 

--
You received this message because you are subscribed to the Google Groups "bigbluebutton-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-u...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-users.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton
Reply all
Reply to author
Forward
0 new messages