From 45e03911ae21e7e2581f5d10b4a35c43d8fd50e2 Mon Sep 17 00:00:00 2001 From: Fred Dixon Date: Sun, 23 Mar 2014 22:52:39 +0000 Subject: [PATCH] Better matching for webRTC enabled in config.xml --- bigbluebutton-config/bin/bbb-conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf index f8dc5ebdcf..5db042b192 100755 --- a/bigbluebutton-config/bin/bbb-conf +++ b/bigbluebutton-config/bin/bbb-conf @@ -154,8 +154,6 @@ usage() { echo " --version Display BigBlueButton version (packages)" echo " --setip Set IP/hostname for BigBlueButton" echo " --setsecret Change the shared secret in bigbluebutton.properties" - echo " --enablewebrtc Enables webrtc feature in the server" - echo " --disablewebrtc Disables webrtc feature in the server" echo echo "Monitoring:" echo " --check Check configuration files and processes for problems" @@ -1200,9 +1198,9 @@ if [ $CHECK ]; then echo " Port test (tunnel): $PORT_IP" RED5_IP=$(cat /var/www/bigbluebutton/client/conf/config.xml | sed -n '/uri.*video/{s/.*rtmp:\/\///;s/\/.*//;p}') - WEBRTC_ENABLED_CLIENT=$(grep -i webrtc /var/www/bigbluebutton/client/conf/config.xml | cut -d '"' -f2) + WEBRTC_ENABLED_CLIENT=$(grep -i useWebrtcIfAvailable /var/www/bigbluebutton/client/conf/config.xml | cut -d '"' -f2) echo " Red5: $RED5_IP" - echo " webrtc enabled: $WEBRTC_ENABLED_CLIENT" + echo " useWebrtcIfAvailable: $WEBRTC_ENABLED_CLIENT" WEBRTC_SOCKET=$(sudo cat /opt/freeswitch/conf/sip_profiles/external.xml | sed -n '/ws-binding/{s/.*value="://;s/".*//;p}') echo