How to listen to Websocket URI in Ignition

I have set up a server transmitting live video feed through Websocket, I would like to know can I listen to the WebSocket URI and display the feed in Ignition, I did the same thing through HTTP, and now I am testing WebSocket, thank you!

Not easily.

I would say a custom module is required.

1 Like

I thought I saw you recently show how to upgrade to websocket using httpClient?

1 Like

Sure, you could probably open a WS via httpClient. I don’t know how you’d emit that data to render in a component (Vision would be easier, Perspective would be harder) after that, though.

1 Like

Presumably you’d run a long-lived thread to manage the websocket connection and publish incoming information in tags. Or “publish” to script module top-level objects of some form. Or use Perspective session messages to distribute the content.

{Not necessarily a comprehensive list.}

1 Like