BigBlueButton内部音频控件是通过WebRTC技术实现的,可以通过修改配置文件启用或禁用。以下是启用内部音频控件的示例代码:
- 修改bbb-conf.conf 文件
打开 bbb-conf.conf 配置文件,找到以下代码段:
Audio configuration
The FreeSWITCH voice conference for guests
Note: You should only use this option for guests. Users should use voiceIP or voiceExternalIP
voiceFreeSWITCHHostname=localhost
voiceFreeSWITCHPort=5066
voiceFreeSWITCHPassword=BBBFTW
Use FreeSWITCH for recording
Note: You should only use this option if you want recording to be possible on this server
note that recording only works if you are using a single server setup
voiceFreeSWITCHRecordingHostname=localhost
voiceFreeSWITCHRecordingPort=5066
voiceFreeSWITCHRecordingPassword=BBBFTW
When using Voice-over-IP (VoIP) and dialing outside of a browser, BigBlueButton
uses this IP address to access FreeSWITCH for voice processing (such as echo cancellation).
This IP should be accessible from the computer running the Flash client.
By default, this is set to the IP address of the BigBlueButton server.
voiceIP=192.168.1.22
When using Voice-over-IP (VoIP) and dialing into a browser session,
this is the IP of the FreeSWITCH server that BigBlueButton will use to process
the incoming audio. If you are not using any PSTN integration, you can safely
set this to the same IP address as voiceIP. However, if you are using PSTN
integration you need to set this to the IP address that your PSTN gateway uses
to connect to the FreeSWITCH server.
voiceExternalIP=192.168.1.22
Turn on/off the internal FreeSWITCH echo canceller.
For voice over IP, echo can be a problem and if you are not experience the level of
echo cancellation you'd like, try turning this option on. This will enable FreeSWITCH's
internal echo canceller.
If this value is set to true, it will allow you to use the echo test (see Test menu at top of client).
Note that echo cancellation can cause the audio to sound slightly distorted if not done well,
so you are encouraged to do a test with a large number of users before using it in production.
voiceUseEchoCanceller=false
Set to true to enable WebRTC audio processing (like noise suppression).
By default, it is turned off.
voiceUseWebRTC=true
Use this option if you are using voiceIP
voicePort=5060
Use this option if you are using voiceExternalIP
voiceExternalPort=5060
取消注释voiceUseWebRTC,并将其设置为true,即:
voiceUseWebRTC=true