You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sending a video feed over websockets through the sendbinary method. But on the client side, the data is being updated very slowly (which results in a equally slowly updating canvas). Do you have any suggestions on how to improve the data sending and where to look to solve the problem?
edit When doing further investigation, whenever I connect to the server from a client, it causes a memory leak in the OF app and eventually crashes due to the app running out of memory. After tracing the heap, the leak is caused by an unsigned char array and void that keeps piling up.
If that is the case, which unsigned char array and void is it that has to be freed?
Other than that, super thanks for your brilliant plugin!
Best
Douglas
The text was updated successfully, but these errors were encountered:
DougLilliequist
changed the title
binary to video very slow
Memory leak when sending a video as binary
Apr 27, 2017
Heya!
I'm sending a video feed over websockets through the sendbinary method. But on the client side, the data is being updated very slowly (which results in a equally slowly updating canvas). Do you have any suggestions on how to improve the data sending and where to look to solve the problem?
edit When doing further investigation, whenever I connect to the server from a client, it causes a memory leak in the OF app and eventually crashes due to the app running out of memory. After tracing the heap, the leak is caused by an unsigned char array and void that keeps piling up.
If that is the case, which unsigned char array and void is it that has to be freed?
Other than that, super thanks for your brilliant plugin!
Best
Douglas
The text was updated successfully, but these errors were encountered: