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

Added info on permissions model #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions getusermedia.html
Original file line number Diff line number Diff line change
Expand Up @@ -3255,6 +3255,23 @@ <h2>Implementation Suggestions</h2>
stream was affected must be removed.</p>
</div>

<div class="practice">
<span id="stored-permissions" class="practicelab">Stored
Permissions</span>

<p class="practicedesc">When permission is requested for a
device, the UA may choose to store that permission, if granted, for later
use by the same origin, so that the user does not need to
grant permission again at a later time. Such storing should
only be done when the page is secure (served over HTTPS and
having no mixed content). It is an UA choice whether it
Copy link
Owner

Choose a reason for hiding this comment

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

Change this to say MUST not store if page is not secure. Remove the part that section is non normative.

offers functionality to store permission to each device
separately, all devices of a given class, or all devices; the
choice needs to be apparent to the user.</p>
<p class="practicedesc">When permission is not stored,
permission should last only until such time as all
MediaStreamTracks sourced from that device have been stopped.</p>
</div>

<div class="practice">
<span id="handling-devices" class="practicelab">Handling multiple
Expand Down Expand Up @@ -4661,6 +4678,7 @@ <h2>Changes since June 19, 2014</h2>

<li>Bug 25784: "on air" indication is underspecified -
separated "access granted" and "on air" indicators.</li>
<li>But 22214: How long do permissions persist?</li>

</ol>

Expand Down