Your Digital Media Has Never Looked So Good

Topic Author
Posts: 46
Joined: Wed Sep 16, 2015 8:43 am

Broadcast to find all of the Roku

Sun Aug 05, 2018 4:15 am

Hello, I made a deep linking implementation in my app and now want to use it in my Android app, same as Youtube has feature `Watch on Roku`. But the problem is how to Find my Roku(or Rokus) in the local network. I tried to ping the broadcast or curl the /query/device-info (as described here), but nothing happened. What can I do to achieve this?

SSDP worked in combination with Wireshark, but using Wireshark is not a good idea, it needs to be done by code.
Posts: 1461
Joined: Thu Dec 09, 2010 1:43 pm

Re: Broadcast to find all of the Roku

Sun Aug 05, 2018 11:32 am

You can broadcast SSDP M-SEARCH requests, or listen for SSDP NOTIFY responses, or send ECP requests to all hosts on the subnet.

I have some code in my VioletBug debugger GUI that uses all three methods:

Who is online

Users browsing this forum: No registered users and 6 guests