master-nevi / UPnAtom

An open source Universal Plug and Play library with a focus on media streaming coordination using the UPnP A/V profile; written in Swift but for both Objective-C and Swift apps.
MIT License
137 stars 55 forks source link

After initial discovery, new and removed devices and services are not reported #9

Closed master-nevi closed 9 years ago

master-nevi commented 9 years ago

This is an issue with the 3rd party library called CocoaSSDP, which partially had a bug and partially hadn't even implemented the removal flow. I've fixed it on my own fork of CocoaSSDP and am waiting for a pull request and new version to go through. Another route would be to roll out an SSDP discovery component from scratch and remove this dependency all together.

master-nevi commented 9 years ago

Created an in-house implemented SSDP discovery rather than relying on CocoaSSDP. The CocoaSSDPDiscoveryAdapter remains in the project in case it is preferred to be used later on.