* Add the ability to parse the root description of clients after they send an SSDP NOTIFY.

* Using this new capability, detect Roku SoundBridge clients.
This commit is contained in:
Justin Maggard
2011-04-09 01:37:11 +00:00
parent e32a1b1d27
commit 07c5fd5dd6
4 changed files with 208 additions and 15 deletions

View File

@ -110,6 +110,7 @@ struct upnphttp {
#define FLAG_MIME_FLAC_FLAC 0x00800000
#define FLAG_NO_RESIZE 0x01000000
#define FLAG_MS_PFS 0x02000000 // Microsoft PlaysForSure client
#define FLAG_AUDIO_ONLY 0x04000000
/* New_upnphttp() */
struct upnphttp *
@ -156,6 +157,9 @@ Send501(struct upnphttp *);
void
SendResp_upnphttp(struct upnphttp *);
int
SearchClientCache(struct in_addr addr, int quiet);
void
SendResp_icon(struct upnphttp *, char * url);
void