I want the ability to indicate not to throttle resources for tab when it goes in background #90
aarongustafson
started this conversation in
Wants
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on an application to enable screen sharing, video capturing, and audio recording. The application enables user to switch from one media option to another when recording is in progress. The functionality is implemented via capturing media streams and rendering it on Canvas. Everything works fine as long as the tab is in focus. The moment the tab loses the focus or the browser window goes in background, the tab resources get throttled and functions like
requestAnimationFrame
,setInterval
, etc. don’t honor the requests.The feature can be made declarative and implemented as a permission to continue execution of script and resource consumption in background. I believe this feature will open up many possibilities for a browser-based application and free end users from installing dozens of OS-specific applications.
https://webwewant.fyi/wants/134/
Beta Was this translation helpful? Give feedback.
All reactions