I am using Chrome desktopCapture API to create a screen recording Chrome App.
Currently, I am doing this:
app.js:
document.querySelector(