Make BBB MeetingIDs more unique
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.
- 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.
Update BBB plugin to use GUID-like identifier to avoid clash between conferences - refs #7327
Fix issue with BBB plugin recording-to-link feature + update BBB plugin code style - refs #7327