bigbluebutton-Github/labs/api/recordings
2014-05-02 19:01:11 +00:00
..
lib implementing GET /recording?meetingid= 2014-05-02 19:01:11 +00:00
log - setup logging and config 2014-05-02 13:50:46 +00:00
test - initial recording api 2014-05-01 15:30:09 +00:00
.gitignore - setup logging and config 2014-05-02 13:50:46 +00:00
Cakefile - initial recording api 2014-05-01 15:30:09 +00:00
config.coffee - put record watcher into module 2014-05-02 14:44:13 +00:00
index.coffee implementing GET /recording?meetingid= 2014-05-02 19:01:11 +00:00
package.json implementing GET /recording?meetingid= 2014-05-02 19:01:11 +00:00
README.md implementing GET /recording?meetingid= 2014-05-02 19:01:11 +00:00

recordingsWatcher

This app is used to watch the file tree for recording files changes in the directories /var/bigbluebutton/published and /var/bigbluebutton/unpublished

For each recording modified, we push into Redis: key = bbb:recordings: value = a set of JSON strings {"format": "", "timestamp": ""}

For example:

bbb:recordings:fbdbde6fd7b6499723a101c4c962f03843b4879c [{"format": "presentation", "timestamp": "1396623833035"}, {"format": "capture", "timestamp": "1396623833045"}]

Instructions:

from Terminal: $ coffee index.coffee