Caspar freezes after receiving many call commands

I have problem, that Caspar freezes when I send many call commands to it. Can you help me?
PS: I am using latest version of Casparcg MAV fork.
THX for help.

Do you also process the servers responses?

No, I just send there commands from my C# app. I also have there no timeouts, but I can add them when it will be solution.

Yes, you need to, otherwise the buffers will overflow. You don’t need to do anything with the responses, if you do not need anything of it, but you must receive the data to empty the buffers.

1 Like

Is this ok? (C#)

data = new Byte[2048];
string responseData;
int bytes = stream.Read(data, 0, data.Length);
responseData = System.Text.Encoding.ASCII.GetString(data, 0, bytes);

…it has a chance :slight_smile:

1 Like