Re: [mediacapture-main] Should getUserMedia promise be resolved only on pages that have focus (#560)

> Safari is not resolving getUserMedia promise even in the case where no prompt will be shown to user (say user granted persistent access to this website).

Firefox has the same behavior. Testing with [this fiddle](https://jsfiddle.net/jib1/jyysn48t/) in two tabs, Chrome and (early) Edge do not. @alvestrand @henbos @aboba thoughts?

> relaxing this rule in case the device is already capturing. [ = clone+applyConstraints]

I agree.

> I guess the idea would be to postpone the whole getUserMedia process starting at step 6 until page has focus.

I can submit a PR for discussion. Then we can argue over MAY, SHOULD or MUST, if we like this.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/560#issuecomment-457666903 using your GitHub account

Received on Friday, 25 January 2019 18:13:21 UTC