Open Raj123456788 opened 4 years ago
Created a repo for anyone who encounters this issue. FYI: Unable to achieve the goal with NSNetService but able to with net-mdns is https://github.com/Raj123456788/ZeroConfiOS
Could you document the changes that were needed?
Sure, I will send you update in details.You just need to remove the dependencies. Why does publishing a service takes a min to show up in the browser? I am publishing JoshMobile below and it takes a minute to publish. Can you please tell me why?
Thread started:
After Client.Dispose(); Service is still can be seen on airplay control Center discovery? What does that mean?
Hi @richardschneider : I just removed the dependencies of .NETFramework4.6.1 & .NETStandard 1.4 in order to make compatible cross platform. The only dependecy is .NETStandard 2.0 IT works for iOS :)
Re: https://github.com/richardschneider/net-mdns/issues/78#issuecomment-538193061
Use ServiceProfile.Unadvertise()
before the Dispose
. This will inform airplay control center that the service is shutting down.
Yes, i already do that. but is there any delay that I need to wait before I publish again? Calling ServiceProfile.Advertise() & mdns.Start()
Hi Richard, thank you so much for your hard work. I did see this issue # 54 https://github.com/richardschneider/net-mdns/issues/54#issue-431720373 Did you get chance to fix it? Or are there any mtouch arguments that I need to add to make it work with xamarin.ios