You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what we can do about this. Putting this listener on a separate thread (#88) would be perfect, but AFAIK it's not possible to access DOM from within Workers.
Maybe we could measure how loaded the main thread currently is and if it is quite busy, don't switch to silenceSpeed. Maybe requestIdleCallback could help, idk.
The text was updated successfully, but these errors were encountered:
For example, open a video on YouTube and then open dev tools (F12), or try resizing the window.
Could be the reason for #24 (comment).
What I think happens is that the main thread gets overloaded and can't process messages from
SilenceDetectorNode
in a timely manner:jumpcutter/src/entry-points/content/StretchingController/StretchingController.ts
Lines 384 to 390 in d81da15
Not sure what we can do about this. Putting this listener on a separate thread (#88) would be perfect, but AFAIK it's not possible to access DOM from within
Worker
s.Maybe we could measure how loaded the main thread currently is and if it is quite busy, don't switch to silenceSpeed. Maybe
requestIdleCallback
could help, idk.The text was updated successfully, but these errors were encountered: