Canceling pending getUserMedia() call

Hi, let's assume that during a call/session a peer wants to add his
local video so gUM is called. But before he accepts the gUM prompt the
call/session is ended by the remote peer.

Is there anyway to make the pending gUM prompt to disappear? I mean:
without waiting for the user to press "Accept" and then ignoring and
closing the given MediaStream.

In that scenario and given that the user does know that the
call/session has ended, he may prefer to click on "Deny" (why to open
my webcam when the call has already ended?), which would cause the
website to get into the gUM blacklist of the browser.

Found nothing in the spec.

-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Tuesday, 27 January 2015 22:26:25 UTC