Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can mDNS be opted out? #6

Open
sipsorcery opened this issue Jul 13, 2020 · 5 comments
Open

Can mDNS be opted out? #6

sipsorcery opened this issue Jul 13, 2020 · 5 comments

Comments

@sipsorcery
Copy link

Is there anyway to disable the use of mDNS? My virtual machine doesn't support it.

$ ./webrtc-cli --offer --debug                                                                                                     
Creating WebRTC peer...                                                                                                                                         
Error: mDNS: failed to join multicast group 
@gavv
Copy link
Owner

gavv commented Dec 20, 2020

Hi, sorry for late reply.

It seems it will be possible if we update our pion version. What virtual machine did you use? I'd like to setup my own to reproduce the issue & develop a fix.

@sipsorcery
Copy link
Author

I can't find the vm i was using when I posted the original issue. I re-tested on my Ubuntu 20.05 physical machine and Windows WSL 18.04 image and both were able to generate an offer. Neither generated an offer with any mDNS ICE candidates so I guess I was using a different vm somewhere or my mDNS config changed for some reason...

I also attempted a check with the browser tool at https://gavv.github.io/webrtc-cli/ but it seems to be broken? It's not producing an SDP offer for me on Windows 10 with Chrome Version 87.0.4280.88 (Official Build) (64-bit).

@sipsorcery
Copy link
Author

I happened across the original vm that I encountered the original issue on:

aaron@pcdodo:~/src/webrtc-cli$ ./webrtc-cli --offer
Creating WebRTC peer...
Error: mDNS: failed to join multicast group
aaron@pcdodo:~/src/webrtc-cli$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal

@gavv
Copy link
Owner

gavv commented Feb 21, 2021

Hi, still not being able to reproduce this. Tried ubuntu 20.04 in docker and virtualbox with different network adapter modes (NAT, bridged, etc) - no errors. Probably you use other VM, or some specific configuration.

Anyway, I can just add an option to disable mDNS and hope that it will help. I will be possible after #9.

@gavv
Copy link
Owner

gavv commented Feb 21, 2021

I also attempted a check with the browser tool at https://gavv.github.io/webrtc-cli/ but it seems to be broken? It's not producing an SDP offer for me on Windows 10 with Chrome Version 87.0.4280.88 (Official Build) (64-bit).

Demo page is fixed (see #8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants