akvirtualcamera
akvirtualcamera copied to clipboard
Mac version: fwrite takes too long
Hi, I installed the virtual camera service in the Mac version, and then tried to write a 2m pixel fwrite (buffer, buffer_size, 1, proc) each time, but it took about 200 milliseconds, causing the picture to get stuck. What's the reason,
The delay is because the plugin needs to convert the source frame to the destination frame, the higher the resolution of the frame, the slowest it will get.
The same pixel size of 2M does not freeze on the window version, but it freezes on the mac version.
I freezes completely, or it just lags?
The streaming time has slowed down. It takes about 100ms to write a frame fwrite(frameRGBBuffer, bufferSize, 1, outputStream);