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
You could try this:
https://developer.roku.com/docs/references/brightscript/components/rostreamsocket.md
There isnt a lib i know of.
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.
Hi,
There is a websocket library https://github.com/SuitestAutomation/BrightWebSocket. However, it does not support secure sockets.