2014-11-14 21:05:20 +08:00
|
|
|
# Local configuration file
|
|
|
|
|
|
|
|
config = {}
|
|
|
|
|
|
|
|
# Shared secret of your BigBlueButton server.
|
|
|
|
config.bbb = {}
|
|
|
|
config.bbb.sharedSecret = "33e06642a13942004fd83b3ba6e4104a"
|
|
|
|
|
|
|
|
# The port in which the API server will run.
|
|
|
|
config.server = {}
|
|
|
|
config.server.port = 3005
|
|
|
|
|
2017-09-08 01:11:43 +08:00
|
|
|
# Web hooks configs
|
|
|
|
config.hooks = {}
|
|
|
|
|
|
|
|
# Channels to subscribe to.
|
|
|
|
config.hooks.channels = {
|
|
|
|
mainChannel: 'from-akka-apps-redis-channel',
|
|
|
|
rapChannel: 'bigbluebutton:from-rap'
|
|
|
|
}
|
|
|
|
|
2014-11-14 21:05:20 +08:00
|
|
|
# Callbacks will be triggered for all the events in this list and only for these events.
|
2016-01-22 00:17:15 +08:00
|
|
|
# You only need to specify it if you want events that are not used by default or
|
|
|
|
# if you want to restrict the events used. See `config.coffee` for the default list.
|
|
|
|
#
|
|
|
|
# config.hooks.events = [
|
2017-09-08 01:11:43 +08:00
|
|
|
# { channel: config.hooks.channels.mainChannel, name: "MeetingCreatedEvtMsg" },
|
|
|
|
# { channel: config.hooks.channels.mainChannel, name: "MeetingEndedEvtMsg" },
|
|
|
|
# { channel: config.hooks.channels.mainChannel, name: "UserJoinedMeetingEvtMsg" },
|
|
|
|
# { channel: config.hooks.channels.mainChannel, name: "UserLeftMeetingEvtMsg" }
|
2016-01-22 00:17:15 +08:00
|
|
|
# ]
|
2014-11-14 21:05:20 +08:00
|
|
|
|
|
|
|
module.exports = config
|