Is it possible to discover other smart tv's with a Roku TV?

571 views Asked by At

I am a newbie to Roku development. I want to find out whether the Roku TV discovers all the other TVs(Samsung, LG, Android & Apple TVs). If yes, please give me the function to discover the other TVs. Thanks in advance.

2

There are 2 answers

0
Nas Banov On

Roku by itself does not do discovery for other devices. If you have something specific in mind though, you should be able to send and listen for UDP, see https://sdkdocs.roku.com/display/sdkdoc/roDataGramSocket

2
AndroidGeek On

I used the function in this link https://sdkdocs.roku.com/display/sdkdoc/roDataGramSocket and used address as 239.255.255.250 and port - 1900 which is used for SSDP( simple service discovery protocol). I was able to see the other smart TV's such as Samsung and Sony Bravia in my console log.