Replies: 1 comment 1 reply
-
I don't think REST is suited for Tally Data at all, because it is hard to push events from the server without a client asking for it. The only way I know of on how to achieve this with REST is with Server Sent Events, which turned out to not be that reliable (at least for me). I had all kinds of issues with buffering, caches and so on. Why not make a simple TCP / UDP Protocol witout Websockets? Btw: as fas as I know, socket.io uses websockets internally with polling as a fallback. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@MatteoGheza I figured that I would move this here instead of in the blackmagic feature request.
After looking at it, I think that websockets would be a better protocol than rest. It seems like it is a lighter weight protocol than socket.io, so It may have some benefits with battery powered listeners.
I still think we need a basic rest API, but it does not have to handle reassigns and all that stuff.
Beta Was this translation helpful? Give feedback.
All reactions