Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemCursorEvent and cursor customization cursor #267

Closed
jozefchutka opened this issue May 12, 2023 · 1 comment
Closed

SystemCursorEvent and cursor customization cursor #267

jozefchutka opened this issue May 12, 2023 · 1 comment

Comments

@jozefchutka
Copy link

jozefchutka commented May 12, 2023

It would be really useful to have an option to customize cursor appearance during capturing. My idea is having a default system cursor removed using existing .getDisplayMedia({video: {cursor: "never"}}) and a custom one added in postproduction or live / onflight with the help of a new SystemCursorEvent API.

Use Case

Consider (these days very popular) video tutorials where one records himself + screen. This is possible with current APIs, however the missing part is to have an option to provide nice big bold custom cursor. As an example, have a look at some videos in https://www.screen.studio/

SystemCursorEvent Proposal

Security

Considering user already granted access to the screen capturing and cursor appearance is not within his control anyway (dev controls .getDisplayMedia({video:{cursor:...}})) there is no additional information being "leaked" from a system.

API could be also restricted to provide events only when cursor appears within captured area / on captured surface.

@eladalon1983
Copy link
Member

eladalon1983 commented May 12, 2023

Have an API that would provide cursor events live during capturing.

There Screen Capture Community Group has a spec draft for this. Igalia is currently implementing it in Chrome (first CL). Your support would be welcome on this thread. And you're welcome to file issues in that repo for extensions you'd like to see made to that spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants