#Way to send buffers to the frontend quickly and optimally

5 messages · Page 1 of 1 (latest)

short wyvern
#

Hello everyone, I'm having some problems with tauri, I encountered a barrier when sending buffers to the frontend in a quick and optimized way, I'm using the scap lib to capture the screen in real time and I wanted to pass the preview of the window that is being captured on the frontend, The problem is to do this without crashing the entire app, unfortunately the scap documentation is a bit weak and doesn't present very useful information, but despite this I would like to know if there is any simple way to send the buffers to the frontend.

autumn coral
short wyvern
copper thorn
#

channel is cool, never try that before, if you using return/recive ArrayBuffers, it will crash when ArrayBuffer too large like 500mb or so

short wyvern