sudo97
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2018
04:15 AM
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.
SSDP worked in combination with Wireshark, but using Wireshark is not a good idea, it needs to be done by code.
1 REPLY 1
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2018
11:32 AM
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
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