Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
AbhiK
Level 8

How to implement socketIO library in brightScript Roku

I am Working on streaming channel for the Roku platform and I am trying to fetch network packets in Roku TV. I need to implement Socket IO client implementation from the Roku TV side. For currently, I am using a custom-designed web-socket but unable to establish the connection.  Do we have any socket IO library in the Roku platform Or anything else that we can user here for implementing this feature?

 


#SocketIO #WebSocketRoku

0 Kudos
3 REPLIES 3\
gomad
Level 10

Re: How to implement socketIO library in brightScript Roku

0 Kudos
bmlzootown
Level 8

Re: How to implement socketIO library in brightScript Roku

I know this topic is almost a year old now, but I was wondering if a better solution was ever found.

 

I myself am looking to connect to a socket.io v2.x server (via wss/https), and I haven't found a viable solution as of yet. Compared to the competitors (tvOS/AndroidTV), which make this rather easy to do at this point, I have struggled to try and implement this myself. Polling really isn't an option in my case.

0 Kudos
bird3214
Level 9

Re: How to implement socketIO library in brightScript Roku

Hi,
There is a websocket library https://github.com/SuitestAutomation/BrightWebSocket. However, it does not support secure sockets.

0 Kudos