2014-11-10 22:43:32 +08:00
# TODO: should be split on server and client side
2014-06-12 00:11:23 +08:00
# # Global configurations file
config = { }
# Default global variables
config.appName = ' BigBlueButton HTML5 Client '
2015-05-08 04:20:51 +08:00
config.bbbServerVersion = ' 0.9.0 '
2015-02-07 07:08:56 +08:00
config.copyrightYear = ' 2015 '
2015-05-08 04:15:38 +08:00
config.html5ClientBuild = ' NNNN '
2014-12-18 02:58:57 +08:00
config.defaultWelcomeMessage = ' Welcome to %%CONFNAME%%! \r \r For help on using BigBlueButton see these (short) <a href= " event:http://www.bigbluebutton.org/content/videos " ><u>tutorial videos</u></a>. \r \r To join the audio bridge click the headset icon (upper-left hand corner). Use a headset to avoid causing background noise for others. \r \r \r '
2015-05-01 03:18:54 +08:00
config.defaultWelcomeMessageFooter = " This server is running a build of <a href= ' http://docs.bigbluebutton.org/overview/090overview.html ' target= ' _blank ' ><u>BigBlueButton #{ config . bbbServerVersion } </u></a>. "
2014-09-26 04:02:38 +08:00
2014-06-12 00:11:23 +08:00
config.maxUsernameLength = 30
config.maxChatLength = 140
2015-04-24 05:09:28 +08:00
config.lockOnJoin = true
2014-06-12 01:12:51 +08:00
## Application configurations
config.app = { }
2015-03-05 05:45:01 +08:00
#default font sizes for mobile / desktop
config.app.mobileFont = 24
2015-08-01 02:07:27 +08:00
config.app.desktopFont = 14
2015-03-05 05:45:01 +08:00
2015-04-16 23:39:06 +08:00
# Will offer the user to join the audio when entering the meeting
config.app.autoJoinAudio = false
2015-04-15 20:02:39 +08:00
# The amount of time the client will wait before making another call to successfully hangup the WebRTC conference call
config.app.WebRTCHangupRetryInterval = 2000
2015-04-15 00:05:32 +08:00
2014-06-12 01:12:51 +08:00
# Configs for redis
config.redis = { }
config.redis.host = " 127.0.0.1 "
config.redis.post = " 6379 "
config.redis.timeout = 5000
config.redis.channels = { }
config.redis.channels.fromBBBApps = " bigbluebutton:from-bbb-apps:* "
config.redis.channels.toBBBApps = { }
config.redis.channels.toBBBApps.pattern = " bigbluebutton:to-bbb-apps:* "
config.redis.channels.toBBBApps.chat = " bigbluebutton:to-bbb-apps:chat "
config.redis.channels.toBBBApps.meeting = " bigbluebutton:to-bbb-apps:meeting "
2015-05-06 23:54:39 +08:00
config.redis.channels.toBBBApps.presentation = " bigbluebutton:to-bbb-apps:presentation "
2014-06-12 01:12:51 +08:00
config.redis.channels.toBBBApps.users = " bigbluebutton:to-bbb-apps:users "
2014-07-29 23:03:19 +08:00
config.redis.channels.toBBBApps.voice = " bigbluebutton:to-bbb-apps:voice "
2014-06-12 01:12:51 +08:00
config.redis.channels.toBBBApps.whiteboard = " bigbluebutton:to-bbb-apps:whiteboard "
2015-07-31 08:08:12 +08:00
config.redis.channels.toBBBApps.polling = " bigbluebutton:to-bbb-apps:polling "
2014-06-12 01:12:51 +08:00
2015-09-05 03:22:47 +08:00
# IP address of FreeSWITCH server for use of mod_verto and WebRTC deshsharing
config.vertoServerAddress = " HOST "
2015-09-05 03:23:33 +08:00
# The Chrome extension key signed to the Chrome Extension
config.deskshareExtensionKey = " your-extension-key "
2015-09-05 03:25:17 +08:00
# Allows a caller to access a FreeSWITCH dialplan
config.freeswitchProfilePassword = " 1234 "
2015-09-14 22:19:41 +08:00
# specifies whether to use SIP.js for audio over mod_verto
config.useSIPAudio = false
2014-06-12 01:12:51 +08:00
# Logging
config.log = { }
2014-11-10 22:43:32 +08:00
if Meteor . isServer
config.log.path = if process ? . env ? . NODE_ENV is " production "
" /var/log/bigbluebutton/bbbnode.log "
else
# logs in the directory immediatly before the meteor app
process . env . PWD + ' /../log/development.log '
2014-10-25 02:02:01 +08:00
2014-11-10 22:43:32 +08:00
# Setting up a logger in Meteor.log
2014-11-13 05:04:03 +08:00
winston = Winston #Meteor.require 'winston'
2014-11-10 22:43:32 +08:00
file = config . log . path
transports = [ new winston . transports . Console ( ) , new winston . transports . File { filename: file } ]
2014-10-25 02:02:01 +08:00
2014-11-10 22:43:32 +08:00
Meteor.log = new winston . Logger
transports: transports
2014-06-12 01:12:51 +08:00
2014-09-04 22:37:36 +08:00
Meteor.config = config