ِِِِaccess the camera in the background using java script in a browser

Job ID: 33269753

Budget: $30 – $50 USD

We are developing a Chrome extension and we need the camera of the user to be active and we receive his video stream even if he switched to another tab.
We see this solution and we can't implement it
https://stackoverflow.com/questions/63656707/chrome-extension-how-to-access-webcam-and-audio-at-intervals
We need someone to help :)
Related categories: JavaScript Google Chrome