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

Separate ViewportMediaStreamConstraints dictionary. #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jan-ivar
Copy link
Member

@jan-ivar jan-ivar commented Jun 16, 2022

Fixes #21


Preview | Diff

@jan-ivar jan-ivar self-assigned this Jun 16, 2022
<section>
<h2>ViewportMediaStreamConstraints</h2>
<p>The <dfn>ViewportMediaStreamConstraints</dfn> dictionary is used to
instruct the user agent what sort of {{MediaStreamTrack}}s may be
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{MediaStreamTracks}} would also work, iianm...?

<dd>
<p>If <code>true</code>, it signals an interest that the
returned {{MediaStream}} contain an audio track, if
supported and audio is available.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's bake in that the user agent is allowed to offer the user the option to approve-without-audio even if the user asks for audio. Let's leave it up to user agents to decide if they want to offer that or not, though. Maybe:
"...contain an audio track, if supported, and audio is available, and the user has not opted out of sharing audio."

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

Successfully merging this pull request may close these issues.

Stop referencing DisplayMediaStreamConstraints dictionary
2 participants