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";
|
2017-11-02 03:08:25 +08:00
|
|
|
// Whether to use Auth2.0 or not, Auth2.0 sends the sharedSecret whithin an Authorization header as a bearer
|
|
|
|
config.bbb.auth2_0 = true
|
2017-09-11 22:54:15 +08:00
|
|
|
|
|
|
|
// 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.
|
2017-11-02 03:08:25 +08:00
|
|
|
//config.hooks = {};
|
|
|
|
//config.hooks.channels = {
|
|
|
|
// mainChannel: 'from-akka-apps-redis-channel',
|
|
|
|
// rapChannel: 'bigbluebutton:from-rap',
|
|
|
|
// chatChannel: 'from-akka-apps-chat-redis-channel'
|
|
|
|
//}
|
2017-09-12 03:16:11 +08:00
|
|
|
|
2017-09-11 22:54:15 +08:00
|
|
|
// IP where aggr will be hosted
|
2017-11-02 03:08:25 +08:00
|
|
|
//config.hooks.permanentURLs = ["request.catcher.url", "another.request.catcher.url"]
|
2017-09-11 22:54:15 +08:00
|
|
|
|
|
|
|
// Allow global hook to receive all events with raw data
|
2017-11-02 03:08:25 +08:00
|
|
|
//config.hooks.getRaw = false;
|
2017-09-11 22:54:15 +08:00
|
|
|
|
|
|
|
module.exports = config;
|