configure bbb for angular and node

488 views
Skip to first unread message

Arpit Shukla

unread,
Jul 21, 2016, 3:10:38 AM7/21/16
to BigBlueButton-Setup
hii, i m using ubuntu 14.04.  I want to know how to setup bbb for my angular and node envoirnment.
 I have read the doc and install bbb on my system.BBB demo is running on my system fine,it means my server is running fine or not?
and how to make api request to bbb from client side using node and angular(javascript)?
this is my output for command: sudo bbb-conf --check

BigBlueButton Server 1.0.0 (1054)
                    Kernel version: 3.19.0-65-generic
                      Distribution: Ubuntu 14.04.4 LTS (64-bit)
                            Memory: 3805 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
  Port test (tunnel): 192.168.10.160
                              Red5: 192.168.10.160
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.10.160
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 192.168.10.160

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: 192.168.10.160

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: 192.168.10.160

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 192.168.10.160


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 192.168.10.150
#   /etc/nginx/sites-available/bigbluebutton: 192.168.10.160
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 192.168.10.150
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: 192.168.10.160

# Error: The voice application failed to register with the sip server.
#   Try running: 
#
#      sudo bbb-conf --clean
#

# Error: Could not connect to the configured hostname/IP address
#
#
# If your BigBlueButton server is behind a firewall, see FAQ.

# Error: Unable to connect to port 1935 (RTMP) on 192.168.10.160

# Error: Unable to connect to port 9123 (desktop sharing) on 192.168.10.160

# Warning: The setting of 192.168.10.160 for bbb.sip.app.ip in
#
#    /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
#
# does not match the local IP address (192.168.10.150).
# (This is OK if you've manually changed the values to an external 
# FreeSWITCH server.)

# Error: Could not detect FreeSWITCH listening on port 5060

# Warning: The setting of 192.168.10.160 for proxy_pass in
#
#    /etc/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (192.168.10.150).
# (This is OK if you've manually changed the values)

# Warning: The setting of 192.168.10.160 for local_ip_v4 in
#
#    /opt/freeswitch/conf/vars.xml
#
# does not match the local IP address (192.168.10.150).
# (This is OK if you've manually changed the values)

# Warning: You are running BigBlueButton on a server with less than 4G of memory.  Your
# performance may suffer.

# Warning: The API demos are installed and accessible from:
#
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo

# Warning: The client self check is installed and accessible from:
#
#

# Error: Unable to reach default URL for presentation:
#
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

Chad Pilkey

unread,
Jul 21, 2016, 12:02:29 PM7/21/16
to BigBlueButton-Setup
Those error messages show that your server can't contact itself:

# Error: Could not connect to the configured hostname/IP address
#
#
# If your BigBlueButton server is behind a firewall, see FAQ.
And the other lines similar to the following indicate that maybe the server's IP has changed since it was installed:

# IP does not match:
#                           IP from ifconfig: 192.168.10.150
#   /etc/nginx/sites-available/bigbluebutton: 192.168.10.160
Both of those error together look like your server or VM was shutdown and when it restarted it received a different IP address from your DHCP server.

You should either set a static IP or run "bbb-conf --setip <new IP>" to switch all of the configuration files to your new IP.


As for your node and angular question the answer really depends on what you are wanting to actually make. If you want to make a front-end application that will manage meetings you can use our API (http://docs.bigbluebutton.org/dev/api.html). If you are looking to create a separate client you should look into how our in-development Meteor client connects to Redis and subscribes to messages and implement that functionality.

Arpit Shukla

unread,
Jul 22, 2016, 6:36:20 AM7/22/16
to BigBlueButton-Setup
hii,
thanx Chad.now looks like all things are working fine.output are
command: sudo bbb-conf --start
Waiting for FreeSWITCH to start: 
 * Starting Red5 Server red5                                                                                                            [ OK ] 
 * Starting Tomcat servlet engine tomcat7                                                                                               [ OK ] 
 * Starting daemon monitor monit                                                                                                        [ OK ] 

Note: monit will automatically start bbb-record-core and LibreOffice within 60 seconds.

start: Job is already running: bbb-apps-akka
start: Job is already running: bbb-fsesl-akka
Waiting for BigBlueButton to finish starting up (this may take a minute):  done

and for sudo bbb-conf --check

BigBlueButton Server 1.0.0 (1054)
                    Kernel version: 3.19.0-65-generic
                      Distribution: Ubuntu 14.04.4 LTS (64-bit)
                            Memory: 3805 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
  Port test (tunnel): 192.168.0.164
                              Red5: 192.168.0.164
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.0.164
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 192.168.0.164

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: 192.168.0.164

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: 192.168.0.164

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true
                   capture desktop: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 192.168.0.164


** Potential problems described below **
# Error: The voice application failed to register with the sip server.
#   Try running: 
#
#      sudo bbb-conf --clean
#

# Warning: The setting of 192.168.10.135 for bbb.sip.app.ip in
#
#    /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
#
# does not match the local IP address (192.168.0.164).
# (This is OK if you've manually changed the values to an external 
# FreeSWITCH server.)

# Error: Could not detect FreeSWITCH listening on port 5060

# Warning: The setting of 192.168.10.135 for proxy_pass in
#
#    /etc/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (192.168.0.164).
# (This is OK if you've manually changed the values)

# Warning: The setting of 192.168.10.135 for local_ip_v4 in
#
#    /opt/freeswitch/conf/vars.xml
#
# does not match the local IP address (192.168.0.164).
# (This is OK if you've manually changed the values)

# Warning: You are running BigBlueButton on a server with less than 4G of memory.  Your
# performance may suffer.

# Warning: The API demos are installed and accessible from:
#
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo

I have found https://github.com/mconf/bigbluebutton-api-js  this library by which we can access bbb api (is it useful?).
I just want to know how i integrate bbb in my node web application so that i can use all the components including user interface?
thanks in advance.

Fred Dixon

unread,
Jul 22, 2016, 6:42:19 AM7/22/16
to bigbluebu...@googlegroups.com
Hi Arpit,

Do you have two IP addresses (internal and external) on your BigBlueButton server? 

# Warning: The setting of 192.168.10.135 for bbb.sip.app.ip in
#
#    /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
#
# does not match the local IP address (192.168.0.164).
# (This is OK if you've manually changed the values to an external 
# FreeSWITCH server.)

If so, see
   

If you have only one IP address, in this case 192.168.0.164, do

  sudo bbb-conf --setip 192.168.0.164

and then try 
  
  sudo bbb-conf --check

and see if it gives more warnings about IP mismatch.


Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

Arpit Shukla

unread,
Jul 22, 2016, 9:14:46 AM7/22/16
to BigBlueButton-Setup
thanx sir. i have changed all ip addresses and make all similar. now its giving no warning  :)
now sir what are the steps if i want to integrate in my web application.
I have found https://github.com/mconf/bigbluebutton-api-js  this library by which we can access bbb api (is it useful?).
I just want to know how i integrate bbb in my node web application so that i can use all the components including user interface?
thanks in advance.

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Fred Dixon

unread,
Jul 24, 2016, 9:51:14 PM7/24/16
to bigbluebu...@googlegroups.com
Hi Arpit,

The BigBlueButton client is Flash-based.  See


You can integrate BigBlueButton into any front-end application using the API.  See


You may find the mconf library is sufficient, but if you go through the above API docs, you'll see the format of the request for each API call and can use that format as the basis for your integration.

To interactively test API calls (and validate that your implementation is generating correct API calls), definitely checkout the excellent API Mate tool from Mconf, see


Regards,... Fred


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages