We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
filter
discover()
I would appreciate it if this product could also accept a function on filter param of discover() method.
Like this:
mDnsSd.discover({ name: '_googlecast._tcp.local', filter: (device) => { return device['modelName'] && device['modelName'] === 'Google Home Mini' && device['familyName'] && device['familyName'] === 'Living Room' } });
The text was updated successfully, but these errors were encountered:
Thank you so much for your feedback. That's a nice idea! I'll implement the filter parameter to the discover() method soon. Give me some time.
Sorry, something went wrong.
I implemented the function-based filter in the discover() method. Try the latest version.
Great!
thanks
No branches or pull requests
I would appreciate it if this product could also accept a function on
filter
param ofdiscover()
method.Like this:
The text was updated successfully, but these errors were encountered: