CPU excessive usage for front-end

When I open the demo CPU on my macbook Air 2019 raise up to 90% for one core.
Chrome getting crazy.

Is there any straightforward reason for that?

Hi, you’ll need to check which process is consuming CPU and investigate a bit. Most probably is Chrome rather than mediasoup.

Depending on the codec you’re using HW encoding may not be taking place in which case CPU is doing the job.

If you add &forceH264=true to the demo URL then you’ll force the H264 codec usage which would be HW encoded (not 100% sure if that’s true for macbook air) and you may see CPU usage differences there.

You can use Activity Monitor Mac app to see the process and GPU usage…,

There’s no much more we can help here on this regard.