Project

General

Profile

Feature #7327

Make BBB MeetingIDs more unique

Added by Yannick Warnier about 5 years ago. Updated about 5 years ago.

Status:
Feature implemented
Priority:
Urgent
Category:
Plugins
Target version:
Start date:
14/10/2014
Due date:
14/10/2014
% Done:

100%

Estimated time:
2.00 h
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

At the moment, BBB plugin's MeetingID (plugin_bbb.id) are unique only for one specific Chamilo portal.
If using the same videoconference server for multiple Chamilo portal, each videoconference will overwrite previous ones that have the same ID.

Find a way to generate a unique ID (and store it in plugin_bbb) that is unique for all Chamilo portals combined.
One suggestion from the BigBlueButton team (https://code.google.com/p/bigbluebutton/wiki/API#create) is to use GUIDs (seems like that can be done in PHP by using http://php.net/manual/en/function.com-create-guid.php ).
However, using GUIDs do note completely ensure unicity (although it is a relatively safe bet). This would, in any case, be the easiest way to handle that.

So the procedure would be to:
  • modify the plugin_bbb table to add a remote_id char(36)
  • hack the plugin/bbb/lib/bbb.lib.php::create_meeting() method to generate a new guid (if it is decided that it is new) and use it in the meeting creation call
  • change the "recordings view" to use the new fields

To avoid putting too much stress on the upgrade, if previous meetings were recorded without guid, assume the meetingID is the plugin_bbb.id field.

This is urgent because, while we do nothing, poor videoconferences are getting overwritten (and die).

I'm linking this to another task where we also need an additional field (visibility) to hide some previous recordings from students.


Related issues

Related to Chamilo LMS - Feature #7324: BBB plugin: add option to hide previous recordingsFeature implemented12/10/2014

Actions

Associated revisions

Revision 620012a7 (diff)
Added by Yannick Warnier about 5 years ago

Update BBB plugin to use GUID-like identifier to avoid clash between conferences - refs #7327

Revision 4b298278 (diff)
Added by Yannick Warnier about 5 years ago

Fix issue with BBB plugin recording-to-link feature + update BBB plugin code style - refs #7327

Revision 98788aec (diff)
Added by Yannick Warnier about 5 years ago

Add backwards compatibility remote_id vs id in BBB plugin - refs #7327

History

#1

Updated by Yannick Warnier about 5 years ago

  • Priority changed from Normal to Urgent
#2

Updated by Yannick Warnier about 5 years ago

  • Description updated (diff)
#3

Updated by Yannick Warnier about 5 years ago

  • Assignee changed from Julio Montoya to Angel Quiroz
#4

Updated by Yannick Warnier about 5 years ago

  • Assignee changed from Angel Quiroz to Imanol Losada
#5

Updated by Yannick Warnier about 5 years ago

  • Status changed from Assigned to Feature implemented
  • Assignee changed from Imanol Losada to Yannick Warnier
  • % Done changed from 10 to 100

Added GUID and fixed many code style issues

Also available in: Atom PDF