Merge remote-tracking branch 'daronco/webhooks-events-audio-video' into mconf-live0.7.4

This commit is contained in:
Felipe Cecagno 2016-02-03 13:31:44 -02:00
commit 27dc3b56cd
2 changed files with 15 additions and 21 deletions

View File

@ -23,6 +23,11 @@ config.hooks.events or= [
{ channel: "bigbluebutton:from-bbb-apps:meeting", name: "meeting_destroyed_event" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_joined_message" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_left_message" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_listening_only" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_joined_voice_message" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_left_voice_message" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_shared_webcam_message" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_unshared_webcam_message" },
{ channel: "bigbluebutton:from-rap", name: "sanity_started" },
{ channel: "bigbluebutton:from-rap", name: "sanity_ended" },
{ channel: "bigbluebutton:from-rap", name: "archive_started" },

View File

@ -11,26 +11,15 @@ config.server = {}
config.server.port = 3005
# Callbacks will be triggered for all the events in this list and only for these events.
config.hooks = {}
config.hooks.events = [
{ channel: "bigbluebutton:from-bbb-apps:meeting", name: "meeting_created_message" },
{ channel: "bigbluebutton:from-bbb-apps:meeting", name: "meeting_destroyed_event" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_joined_message" },
{ channel: "bigbluebutton:from-bbb-apps:users", name: "user_left_message" },
{ channel: "bigbluebutton:from-rap", name: "sanity_started" },
{ channel: "bigbluebutton:from-rap", name: "sanity_ended" },
{ channel: "bigbluebutton:from-rap", name: "archive_started" },
{ channel: "bigbluebutton:from-rap", name: "archive_ended" },
{ channel: "bigbluebutton:from-rap", name: "post_archive_started" },
{ channel: "bigbluebutton:from-rap", name: "post_archive_ended" },
{ channel: "bigbluebutton:from-rap", name: "process_started" },
{ channel: "bigbluebutton:from-rap", name: "process_ended" },
{ channel: "bigbluebutton:from-rap", name: "post_process_started" },
{ channel: "bigbluebutton:from-rap", name: "post_process_ended" },
{ channel: "bigbluebutton:from-rap", name: "publish_started" },
{ channel: "bigbluebutton:from-rap", name: "publish_ended" },
{ channel: "bigbluebutton:from-rap", name: "post_publish_started" },
{ channel: "bigbluebutton:from-rap", name: "post_publish_ended" }
]
# 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 = {}
# config.hooks.events = [
# { channel: "bigbluebutton:from-bbb-apps:meeting", name: "meeting_created_message" },
# { channel: "bigbluebutton:from-bbb-apps:meeting", name: "meeting_destroyed_event" },
# { channel: "bigbluebutton:from-bbb-apps:users", name: "user_joined_message" },
# { channel: "bigbluebutton:from-bbb-apps:users", name: "user_left_message" }
# ]
module.exports = config