"EnTerr" wrote:
"belltown" wrote:
Not sure why it couldn't discover your Rokus. I'm sending out the following SSDP Discovery request
You are sending/listening over UDP i hope?
Sorry, don't mean to offend but just noticed the ECP doc says "using the http protocol to 239.255.255.250 port 1900" which is... well, arguably wrong. But misleading for sure, since SSDP is not HTTP per se, it's HTTPU (http-like over UDP). Also, put space after the colon (key: value)
Yes, definitely using UDP (a Datagram Socket as Windows calls it). I see what you mean about the Roku docs. The SSDP specs describe it as " A multicast discovery and search mechanism that uses a multicast variant of HTTP over UDP".
It works fine discovering my Rokus, and I know at least one other person whose Rokus were also discovered. So far, TheEndless is the only one who's reported a problem with the discovery mechanism. I will add a space after each colon for the headers, although it seems to work for me without them, and technically they're not required, just "preferred", whatever that means. One thing I wasn't really clear about was the "MX" header; I wasn't sure whether to leave it out, or if using it, what value to use for it. Maybe his devices are taking longer to respond to the SSDP requests, due to the number of devices, or network configuration, or something. I did notice during my own testing that there were times when one or more Rokus did not always respond to SSDP requests. I'd try again later then every device responded.