2017-09-11 22:54:15 +08:00
|
|
|
// Local configuration file
|
|
|
|
|
|
|
|
const config = {};
|
|
|
|
|
|
|
|
// Shared secret of your BigBlueButton server.
|
|
|
|
config.bbb = {};
|
|
|
|
config.bbb.sharedSecret = "mysharedsecret";
|
|
|
|
|
|
|
|
// The port in which the API server will run.
|
|
|
|
config.server = {};
|
|
|
|
config.server.port = 3005;
|
|
|
|
|
|
|
|
// Callbacks will be triggered for all the events in this list and only for these events.
|
|
|
|
config.hooks = {};
|
2017-09-12 03:16:11 +08:00
|
|
|
config.hooks.channels or= {
|
|
|
|
mainChannel: 'from-akka-apps-redis-channel',
|
|
|
|
rapChannel: 'bigbluebutton:from-rap'
|
|
|
|
}
|
|
|
|
|
2017-09-11 22:54:15 +08:00
|
|
|
// IP where aggr will be hosted
|
|
|
|
config.hooks.aggr = ["request.catcher.url", "another.request.catcher.url"]
|
|
|
|
|
|
|
|
// Allow global hook to receive all events with raw data
|
|
|
|
config.hooks.getRaw = false;
|
|
|
|
|
|
|
|
config.webhooks = {};
|
|
|
|
|
|
|
|
module.exports = config;
|