Network transfert array lag?

Hi everyone, I’m currently working on a video chat system for my internship.

But I’ve a problem, with the web cam texture, in fact I send the webcam informations through RPC.
The variable is an byte[ ] and it works but the problem is the server (which receives the information of client webcam) is too slow to update the renderer… The byte[ ].lenght of the data sent is between 300 000 - 600 000… I think that’s why this is so slow moreover if the conversation is too long, the renderer freezes and the executable crashes.
So if someone now how to reduce the lag, I’ll be gratefull !

I hope you’ll understand me… If you need a part of my code, just ask !

Have a good day!!
matt

Hi, well, I think you can see how much time your client spend running through 300k ~ 600k in array. Like that : .net - Performance of Arrays vs. Lists - Stack Overflow . Maybe you need to see how is your buffer size, maybe your GC is not working correctly.

If you can do a benchmark and post your results here, like: time to send all info, size of your buffer, time to render, is a good start to help more. =)

I just tested on others pc and the problem is the same so it’s not an hardware problem :frowning: