bbb-install
bbb-install copied to clipboard
bad option added by the script breaks video sharing
We installed 3 BBB today with the script and for the 3 instances, everything was working fine except the video sharing.
We finally found that the error is in this file: /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini
The version from today added a line:
externalIPv4=111.222.333.444
Where the ip address is the ip address from our turn server and not the ip address of the BBB server.
Once we put the ip address of the server and restart bbb, videos were working
The funny thing is that this option is there in case you don't have a turn server or don't want to use one. But we put our turn server info in the install script options (-c flag), so that really shouldn't be add.
;; External IPv4 and IPv6 addresses of the media server.
;;
;; Forces all local IPv4 and/or IPv6 ICE candidates to have the given address.
;; This is really nothing more than a hack, but it's very effective to force a
;; public IP address when one is known in advance for the media server. In doing
;; so, KMS will not need a STUN or TURN server, but remote peers will still be
;; able to contact it.
We checked other BBB that are working fine and this line wasn't there.
Big thanks for this amazing software.
I had the same problem, yesterday update the template and was working fine, today created a new instance from it, ran the install script again using the -c for turn (external turn), it used the turn ip as external and the real ip as internal, changed some configurations for the turn ip and create a dummy interface on loopback with the turn ip. Tomorrow i`ll update another one and will post the logs.
I faced the same issue today. Everything was working except video sharing (webcam or screenshare). Apparently this config option used the IP of a loopback interface instead of the external IP of the server. Changed it to the external IP and now it's working like a charm :+1:
That one of the problems when the DNS configuration is right or the propagation is not done. Using -d
too makes it happen.