Skip to content

Commit

Permalink
JS should see devicechange events during active gum call.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed Aug 4, 2016
1 parent 400310d commit 00def78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions getusermedia.html
Expand Up @@ -2870,9 +2870,11 @@ <h3>MediaDevices</h3>
<p>The <code>MediaDevices</code> object is the entry point to the API
used to examine and get access to media devices available to the User
Agent.</p>
<p>When new media input and/or output devices are made available, and if the
<p>When new media input and/or output devices are made available, and if either the
<a data-lt="retrieve the permission state">permission state</a> of the
"list-devices" permission is "granted", the User Agent MUST queue a task
"list-devices" permission is "granted" or any of the local devices are
attached to an active MediaStream in the current browsing context, then
the User Agent MUST queue a task
that fires a simple event named <code><a href=
"#event-mediadevices-devicechange">devicechange</a></code> at the
<code><a>MediaDevices</a></code> object. The User Agent MAY fire just a
Expand Down

0 comments on commit 00def78

Please sign in to comment.