Forum Discussion

goudalf's avatar
goudalf
Newbie
2 years ago

mDNS resolution on the Roku

Hello,

I'm experimenting with the Roku SDK, and one of the needs I have for my experiments is to have my Roku app being able to find some other devices on my network using mDNS.

I've already tried to use a .local hostname in my code, trying to reach a device which responds to mDNS queries for its .local name but it looks like the resolver of the Roku platform doesn't support that.

So, alternatively, I tried to find some class/method in the SDK which would allow me to perform some kind of mDNS queries.

In the BrightScript documentation, I've found a class called "roNetworkDiscovery" which is supposed to be able to perform mDNS service lookup, not hostname, but I could also manage with that.

However when I try to do CreateObject("roNetworkDiscovery") I am getting the error:

BRIGHTSCRIPT: ERROR: Runtime: unknown classname "roNetworkDiscovery"
 
I'm not sure what I am doing wrong. Any idea ?
 
Thanks
 

1 Reply

  • renojim's avatar
    renojim
    Community Streaming Expert

    You probably found that in BrightSign documentation.  While they use BrightScript like Roku devices, they don't both support the same components.