J.
Explore posts from servers❔ Unity- realtime streaming protocol
What options do i have to stream video feeds from multiple cameras from a Unity client?
my friend suggested to use some type of real-time streaming protocol using a websocket. But I have no idea what native or third party libraries are available in a unity context.
what can I use? Preferably I would like a pipeline where I can integrate MQs somehow.
6 replies
❔ DB and web API data potential desync- how to resolve?
I have an app that will cross compare DB contract data to usage data fetched from a web API.
The API returns details for users like "id", "name", "email" and so forth, which we also store on our server/DB ecause we need to tally before billing. But the API side can be modified by our client at any time. My current solution is that I will always treat the API as the source of ground truth.
So if any of the user Id on the API changes and causes a mismatch, there would need to be a manual/automatic adjustment on the database side for the client records.
My question is, is this an appropriate solution?
1. If so, how can this be done with the least amount of human intervention?
2. If not, what is an appropriate solution?
From what I can see, the web API does not provide any endpoints to listen for changes to the user's id.
18 replies
❔ Data breakpoints in MSVS
Hi, am having problems setting up data breakpoints (break when variable changes) in MSVS for C#. I've looked through numerous google articles but the option doesn't exist when I right click (it isn't even greyed out, it's just flat out not there).
I am using community edition Visual Studio 2022
11 replies
❔ Lambda expressions in C#
Hi, I'm afraid I'm not used to lambdas enough and am struggling whenever they pop up.
I need a place to practice lambda expressions (writing my own, as well as using existing ones).
I searched on google but w3schools only has py and java examples
22 replies
❔ Syntactical Difference In Azure Function Scripts
I have syntax for two files:
They both work, but it seems that there is significant difference in the syntax. What's up with this? ChatGPT says that the first one (the one that returns HttpResponseData) is Azure Functions v4, whereas the
async Task<IActionResult>
one is Azure Functions v3. Is this true?3 replies
❔ WebSocketSharp and Azure Endpoint (Error 1006)
Summary:
1) I create a
UnityWebRequest
which is used to call request.SendWebRequest()
.
2) Use the returned request.downloadHandler.text
to create a ws = new WebSocket(request.downloadHandler.text, "json.webpubsub.azure.v1");
3) Attempt to perform ws.Connect()
However, ws.Connect()
never connects and instead always triggers OnClose()
instead, citing error 1006.
My actual code:
I am new to azure. How can I debug?3 replies