Search code examples
androidupnpssdp

on Android, how to make upnp mr response my m-search?


I am working on Android. And tried to find media renderer in the same lan. I sent out m-search to 239.255.255.250:1900. I captured the message I sent as follow:

M-SEARCH * HTTP/1.1
MX: 5
ST: ssdp:all
MAN: "ssdp:discover
User-Agent: UPnP/1.0 DLNADOC/1.50 Platinum/0.6.8.0-bb / fenda0000
Host: 239.255.255.250:1900
Connection: close

However, no response from mr which do working there.


Solution

  • My mistake, i bypassed the clients' response! Simonc's answer is useful, too.