Mediasoup WebRTC IP address

82 views
Skip to first unread message

Richard Phillips

unread,
Dec 5, 2022, 12:36:55 PM12/5/22
to bigbluebu...@googlegroups.com
Latest 2.5.8 installed and working, but have a problem when re-configuring machine with different IP address as this breaks webrtc. 

I have a script which did this successfully in 2.4 - but I now (with 2.5) appear to be missing something - likely with mediasoup. 

I update the following files with the correct IP address, and also correct the dummy NIC

/opt/freeswitch/etc/freeswitch/vars.xml
/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml
/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml
/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini

Restart BBB and meetings work fine - though sharing video fails with ICE errors. 

On examination (webrtc:about) I can see that mediasoup is reporting the WRONG ip address (ie. the old one, before scripts re-allocated this)

So my question is quite simple - where else do I need to change the IP address in order for medasoup WebRTC negotiation to report the correct external IP address of the bbb server? 

Thanks for any nudges!  

Regards

----------------------------
Richard Phillips
----------------------------

Andrew Wells

unread,
Dec 5, 2022, 5:38:39 PM12/5/22
to bigbluebu...@googlegroups.com
Did you change the settings in the Coburn server as well?

Sent from Nine

From: Richard Phillips <ric...@gmail.com>
Sent: Monday, December 5, 2022 12:37 p.m.
To: bigbluebu...@googlegroups.com
Subject: [bigbluebutton-setup] Mediasoup WebRTC IP address

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/CAM4HBXwdBoeE-SKyXWBwErgPTLUYsUqpbkBDQesPfhNSHkB5Mg%40mail.gmail.com.

Andrew Wells

unread,
Dec 5, 2022, 5:57:19 PM12/5/22
to BigBlueButton-Setup
Coturn...damn spell check.

RichP10

unread,
Dec 6, 2022, 8:28:33 AM12/6/22
to BigBlueButton-Setup
Many thanks Andrew - I think I figured out this particular problem. 

The problem was that (I think new in 2.5) bbb sets up a systemd service to set up the dummy NIC for freeswitch: /usr/lib/systemd/system/dummy-nic.service  - and this still had the old IP address which was set as the dummy-nic IP every time the machine booted.  

I also had the wrong old IP in one of the override files.  

For anyone who passes this way: the simplest way of updating IP address if that changes on your machine appears to be re-running install.sh - but if you are doing something where this is not practicable, checking all the overrride files as well as the dummy-nic would be a good place to start!  Check ip addr and check that it does not show two different external ip addresses...

I now have everything working chrome but sound webrtc is failing on FF but will raise that in yet another email if I can't figure it out!

Thanks again

Richard

Fred Dixon

unread,
Dec 6, 2022, 12:36:14 PM12/6/22
to bigbluebu...@googlegroups.com
Hi RichP10,

Thanks for sharing your findings -- it will certainly help others.

Regards,... Fred





--
BigBlueButton Developer

Like BigBlueButton?  Tweet us at @bigbluebutton
Reply all
Reply to author
Forward
0 new messages