neighbor/upnp: UPnP media server discovery

This commit is contained in:
Max Kellermann
2014-01-26 11:19:17 +01:00
parent 3dad837ca6
commit 0b3fbdba87
6 changed files with 201 additions and 0 deletions

View File

@@ -121,6 +121,11 @@ public:
std::list<std::string> &result,
Error &error) const;
gcc_pure
std::string GetURI() const {
return "upnp://" + m_deviceId + "/" + m_serviceType;
}
/** Retrieve the "friendly name" for this server, useful for display. */
const char *getFriendlyName() const {
return m_friendlyName.c_str();