Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sudo97
Visitor

Broadcast to find all of the Roku

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.
0 Kudos
1 REPLY 1
belltown
Roku Guru

Re: Broadcast to find all of the Roku

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: https://github.com/belltown/violetbug/blob/master/source/lib/VBDiscover.js
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.