-
Notifications
You must be signed in to change notification settings - Fork 20
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
It does not seem like publish() actually publishes publicly properly #46
Comments
In contrast,
const mdns = require("mdns");
const init = async () => {
console.log("Publishing bonjour service");
const ad = mdns.createAdvertisement(mdns.tcp("testapp"), 3000);
ad.start();
while (true) {
// keep the process alive
await new Promise((resolve) => setTimeout(resolve, 4000));
console.log("instance", ad);
await new Promise((resolve) => setTimeout(resolve, 2000));
console.log("Waiting...");
}
};
init(); |
@StefanWallin Thanks for the heads up. It maybe related to the issues mentioned but I'll have to dig further to see if I can replicate. |
@StefanWallin Also, which version of bonjour-service are you using? |
your client detects both, but mdns-client cannot detect from this library. |
I realized that one thing that might be interesting to know is that I'm currently without a stable wifi since I'm in my mountain cabin and not at home. So my current network setup is my macbook relying on being wifi-connected to an iPhone with Internet Sharing turned on and using that as a hotspot. |
This might be duplicate of #9 or #13, if that's the case I'm sorry!
馃 馃嵒 Thanks in advance for great work with open sourcing this. 馃帀
I'm trying this on:
npx ts-node -v
:v10.9.2
node -v
: `v18.13.02.1.0 (6)
Description
I'm trying to implement the
react-native-zeroconf
library in my react native app and serve from my server with yourbonjour-service
, but It does not seem that the announce from this library is reaching the network properly.If I use the Discovery App I can see services such as Airplay and others, but not whatever I announce from this library.
If I try to scan for
airplay
overtcp
withreact-native-zeroconf
I get matches from within my iOS simulator I will see my apple TV which is only connected by bluetooth even.My setup
index.ts
It will output something like this:
If I use
bounjour-service
as client it works, but not ideal for a react native environment, and it's weird that other applications cannot see the announcement either.The text was updated successfully, but these errors were encountered: