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: 
AbhiK
Streaming Star

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
Roku Guru

Re: How to implement socketIO library in brightScript Roku

0 Kudos
bmlzootown
Binge Watcher

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
Binge Watcher

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
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.