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

Possibility to use experimental CaptureController with AudioVideoFacade.startContentShareFromScreenCapture #2546

Open
hacktick opened this issue Jan 12, 2023 · 1 comment
Labels
feature-request New feature or request Triaged

Comments

@hacktick
Copy link

Tell us about your request

What do you want us to build?

Which Amazon Chime SDK or feature area is this request for?
amazon-chime-sdk-js

Tell us about the problem you are trying to solve and why is it hard?

When starting a Content share from screen capture the selected window/browser tab is automatically focused.
Since this is confusing for a lot of people we want to disable this behaviour.
There is experimental feature CaptureController where one can decide if the selected surface should be focused or not.
Since Chrome 109 released on 10th of January 2023 there is officially support for this support.
I see no way to make this work with the current API of "startContentShareFromScreenCapture".

Could you add a optional CaptureController parameter for "startContentShareFromScreenCapture"?

SelfCapturePreference should be worth noting for the team.

How are you currently solving a problem?

There are no workarounds - this is the current behaviour of all browsers - afaik

Additional context

Anything else we should know?

@hacktick hacktick added the feature-request New feature or request label Jan 12, 2023
@ltrung
Copy link
Contributor

ltrung commented Jan 18, 2023

Thanks for submitting a feature request. I could bring this back to our team for further discussion.
In the mean time, can you try to manually capture the screen with the above API and get the screen capture stream yourself and use startContentShare to sharing screen?
As you can see we do the same with startContentShareFromScreenCapture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request Triaged
Projects
None yet
Development

No branches or pull requests

3 participants