How to Move local recording to S3 server & how to use CDN service

2,629 views
Skip to first unread message

Madhu

unread,
Jul 2, 2013, 7:05:48 AM7/2/13
to bigbluebu...@googlegroups.com
Hi,

How to move local BBB recordings in to Amzon S3 server for Video playback, nd also how to use CDN service for S3 server, because BBB final playback needs BBB installation , if i am wrong pls correct it.because BBB final recording stores in multiple files like Audio, Video, Presentation and XML file separately ..so is it possible to move without installation of BBB on Amazon S3.. plese give me solution.. if it is possible then how to implement ,can anybody explain me in detail.

Thanks,
Madhukar

Madhu

unread,
Jul 2, 2013, 7:50:32 AM7/2/13
to bigbluebu...@googlegroups.com
How to scale  BigBlueButton (simultaneous numbers of users, or simultaneous number of conferences) with a content distribution network,

and also explain distribution of recordings via a CDN.

Gustavo Salazar

unread,
Jul 2, 2013, 11:04:10 AM7/2/13
to bigbluebu...@googlegroups.com
Hi Madhukar.

You need some programming skills for this,

The published recordings are in /var/bigbluebutton/recording/published , I think those files you want to store in S3.

And the playback logic is in /var/bigbluebutton/playback . Take a look to the code there in js and html files, so then you will know what to change to get the media files from S3 and not from the BBB server.







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



--
Gustavo Salazar (Guga)

HostBBB.com

unread,
Jul 2, 2013, 9:30:05 PM7/2/13
to bigbluebu...@googlegroups.com
Madhu,  this is what I have done for .80 slide, should work same for .81 presentation.
 
1) Create an S3 Bucket.
2) Set policies and map to a sub domain.
3) Move the playback directory into s3,  modify a few files to fix some relative links.  The popcorn players plays out of S3.
4) Develop simple process that looks for completed archives that are published.
5) When archive is published, copy it,  change the metadata.xml to fix relative links to absolute that include the file s3 url path.
6) Use s3cmd to move archive to S3.
 
Now you need to look at get_recordings api call is going to work.  2 approaches.
      1)  Once you have full S3 URL, store in front end database and don't use bbb-web to get meeting url.

HostBBB.com

unread,
Jul 2, 2013, 9:35:31 PM7/2/13
to bigbluebu...@googlegroups.com
2) The second approach is to still use get_recordings api,   Just live the metadata.xml file on BBB server removing the rest of the archive files.
BBB still finds the meeting in published dir, and redirects users to s3 path.  This way all the standard integrations still serve up recordings when api calls are made.

Synergy LMS

unread,
Jul 3, 2013, 8:14:09 AM7/3/13
to bigbluebu...@googlegroups.com
Hi Stephen,
Thanks for your reply, is same methode applicable for move recordings one BBB server to another BBB server or just by copying published folder /var/bigbluebutton/recording/published  is enough.. 

Thanks,
Madhukar


--

Nathan Powers

unread,
Apr 15, 2017, 1:26:03 PM4/15/17
to BigBlueButton-Setup
I know this is an old conversation but hopefully I can still get a response. Regarding step 5, how can I know if the archive is finished being published? For example, if I have a script that is constantly checking the published directory to upload the folders to S3, how do I know if the files are ready to upload? Is there a lock file or something that indicates the process is complete?

HostBBB.com

unread,
Apr 15, 2017, 4:38:40 PM4/15/17
to BigBlueButton-Setup
Post_publish.rb you can write a few lines of code. It triggers on completion. I have this ruby call a bash script.

Regards
Stephen
Hostbbb.com

Reply all
Reply to author
Forward
0 new messages