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

mdns fails with OSError: No such device #81

Open
edwardpier opened this issue Aug 1, 2024 · 0 comments
Open

mdns fails with OSError: No such device #81

edwardpier opened this issue Aug 1, 2024 · 0 comments

Comments

@edwardpier
Copy link

My WebRTC session failed when trying to connect over a Raspberry Pi with its wifi configured as a base station. The aioice code threw an OSError with message No such device from mdns.py line 175. This is the call to rx_sock.setsockopt.

A little googling indicated that this might be because the network interface could not do multicast. While this might be solved by reconfiguring my networking, it would be best if the aioice code could handle multicast failures gracefully and skip candidates that have a .local hostname.

I hacked the code to catch the OSError. If you like, I can make a pull request, but I feel that my hack is a bit inelegant and could be done better by the original code author without much effort.

Please let me know if you would like more information or if there is anything I can do to help. I appreciate the effort that has gone into this really useful package.

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

1 participant