W3C home > Mailing lists > Public > public-media-capture@w3.org > January 2015

Canceling pending getUserMedia() call

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Tue, 27 Jan 2015 23:25:35 +0100
Message-ID: <CALiegf=B0FiZuQ8Hh3kk4ygAsYSjJ2mqztp2HJcTB7ds1mD7sw@mail.gmail.com>
To: "public-media-capture@w3.org" <public-media-capture@w3.org>
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
Received on Tuesday, 27 January 2015 22:26:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 27 January 2015 22:26:26 UTC