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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

master-nevi opened this issue · comments

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.

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.