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

Should restrictOwnAudio be settable? #10

Open
eladalon1983 opened this issue Jun 3, 2021 · 2 comments
Open

Should restrictOwnAudio be settable? #10

eladalon1983 opened this issue Jun 3, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@eladalon1983
Copy link
Member

During the last editors' meeting, the question arose of whether restrictOwnAudio should be settable. It seems to me that the best thing to do would be to have getCapabilities() return a sequence<boolean> and let the UA decide whether it supports changing this constraint on the fly.

@jan-ivar
Copy link
Member

jan-ivar commented Dec 2, 2021

We should elaborate here how these constraints should work "As a capability", like we do in mediacapture-main.

@jan-ivar
Copy link
Member

jan-ivar commented Dec 2, 2021

We also don't appear to list restrictOwnAudio in the MediaTrackCapabilities WebIDL which seems like an omission we should fix. I see no reason why this constraint should be omitted there, so this seems editorial to me. It should follow the constrainable pattern like all the other constraints, unless the WG decides otherwise (which I don't believe it has).

As to the OP of whether it is "settable", if we mean can it be applied as a constraint, then it seems like it already can: "As a constraint, this property can be constrained resulting in a source with own audio restriction enabled or disabled."

@dontcallmedom dontcallmedom transferred this issue from w3c/mediacapture-screen-share Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants