Websocket data sending example #203
Answered
by
pataxis
torcsvarizs-ar
asked this question in
Q&A
-
Hello, are there examples for sending data from the camera to a webpage on registered websocket channel? Are we allowed to upgrade from http request to websocket from a request handler based on ax_http api? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
pataxis
Mar 31, 2023
Replies: 1 comment 2 replies
-
Hi @torcsvarizs-ar, thanks for your question, we'll get back to you when we have had time to look in to this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
None that I know of.
As far as I understand the library, it's mostly redirecting requests over HTTP, or as the library says itself
The AXHttp library provides a simple mechanism for serving CGI requests.
I'm not sure if it would be technically possible to serve over WebSockets, nor if it's recommended.
In acap-native-sdk-examples, there is an example called web-server that has replaced AxHTTP. I'm not sure if that can handle more of what you want to do. I think it should be possible to us…