We've been running a video application in a web browser and we are facing quite a lot complaints about the performance of the video calls.
90% of the complaints are when the user uses a virtual background and we use a library for that and it uses WebGL2 for the rendering.
We've performed the following options to debug the problem.
- Capturing a performance profile and we saw some long running tasks.
- Enabling the performance monitor to see the CPU consumption on the specific chrome tab which was running the video call and we sometimes see it's more than 90% but on the system level it's not.
- Enabling hardware acceleration.
We figured out that there is some issue with the library that we use but I want to workaround the problem in some way, until there is a fix available.
I'm also not quite sure if chrome does some resource saving within the tabs to not bombard the CPU usage on system level.
My question here is: Can we somehow workaround this problem by letting the chrome tab use more CPU when a specific tab is running a video call?
Or maybe some other approach which can improve the performance?
Any help would be greatly appreciated!