- Operating system --> Ubuntu 18.04
- Installation method --> media-server from apt-get, kurento-magic-mirror demo from source
- Kurento version --> debian package 6.13.0-0kurento1.18.04, kurento source from branch '6.13.0'
As suggested in the demo all three of the media server, the kurento magic-mirror app and the web browser (chrome Version 79.0.3945.130 (Official Build) (64-bit)) are all running on the same machine.
However, when I load the "localhost:8443" webpage as suggested in the demo script (very well documented- thanks!), the page loads and when I click 'start' my local camera starts on the left window,
but right window/webrtc connection never starts. I get identical results with other demos, so I don't think this is unique to the magic mirror demo.
a) this is all via localhost, so no stun server should be needed - right?
b) this device is technically behind a nat but even with a stun server configured, still no dice
c) looking at the console output of the SDP I see a bunch of " 172.3.185.49 36340 typ srflx raddr 192.168.2.83" messages (172.3.185.49 is the public IP, 192.168.2.83 is the internal IP) so stun is working properly
2) The machine has dual interfaces wifi and wired. Wired isn't connected so I changed WebRtcEndpoint.conf.ini networkInterfaces to the wifi and loopback addresses only; no dice
3) I tried 'strace -pf $(pgrep kurento)' but didn't see any connect attempts
4) I tried 'tcpdump -n -i any' to monitor traffic and I see connections to the stun server (still not needed :-() but no attempts to create new connections (UDP or TCP) back to the localhost.
5) I changed all of the kurento related logs in kurento-magic-mirror/src/main/resources/application.properties to DEBUG, but no obvious problem there. In fact, no logs on loading the webpage.
6) Looking at the media server logs in /var/log/kurento-media-server/errors.log there's nothing other than the "new execution" logs when I change configs
7) Looking at the (more detailed?) log /var/log/kurento-media-server/2020-04-05T212940.00000.pid6103.log shows no logging when I try to load the page/create a connection.
In reading some of the docs, it seems like I should be able to put the media server is some sort of more verbose mode to get more detailed logs, but it's not clear how.
Any thoughts on what I could look at to figure out what's going wrong?
Thank you in advance and apologies if this is documented somewhere. I did spend some time sorting through lots of options before mailing the list.
- Rob
.