-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
🎨 FrontendIssues related to HTML, CSS, JavaScript.Issues related to HTML, CSS, JavaScript.👀 scrcpyIssue related to casting android videoIssue related to casting android video🤗 EnhancementNew feature or requestNew feature or request
Description
Feature Request
Checklist
- Do you want to make a PR for this?
- Have you discussed this feature with the team?
- Is there a related issue or feature request?
- Do you have any mockups or designs for this feature?
Description
In the current implementation of WebCodec, every stream are executed within a unified thread.
However, WebCodecs API rendering can be delegated to Web Workers enabling better performance, less clutered rendering thread and more resilient streaming (not breaking every threads if one is faulty).
Why is this needed?
As described above : Better perf and more stable stream rendering.
Additional Notes
The tango library documented this implementation here : https://docs.tangoapp.dev/scrcpy/video/web-codecs/#use-in-web-worker
Metadata
Metadata
Assignees
Labels
🎨 FrontendIssues related to HTML, CSS, JavaScript.Issues related to HTML, CSS, JavaScript.👀 scrcpyIssue related to casting android videoIssue related to casting android video🤗 EnhancementNew feature or requestNew feature or request