Closed varunk29 closed 1 year ago
If you don't need audio, I recommend the chrome dev tools screencast API, which has better performance. You can use it with the puppeteer-screen-recorder package.
ill need audio, I'm trying to record a webrtc call
I see you're using an extension for recording audio and video,
In PuppeteerStream.js
, opts.frameSize
is set to 20
by default.
It is then passed toextension/background.js
where it is consumed by recorder.start(opts.framesize)
.
Set opts.frameSize
to >= 1000
. It should generate a Blob every 1000ms, not every 20ms.
I tried that, but it still didn't help in reducing CPU usage
Hello, I have the same issue here, I try to record an HTML page in 720P (down from 1080) on Azure Machine The page display ThreeJS + Audio + Video content. The result is very slow and I don't know where I can optimize something (appart from a better CPU)
I've rewritten the transmission method in c420bc4 and it should now use a lot less CPU
is there any way to optimize it, it seems to take a lot of CPU when I start recording,