W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > May 2016

Re: [mediacapture-main] With single camera, calling getUserMedia twice causes PermissionFailure.

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 May 2016 20:57:04 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-217277706-1462481823-sysbot+gh@w3.org>
So if "set" refers to `finalSet`, then this step prunes tracks from 
`finalSet`, but only jumps to *Permission Failure* if `finalSet` ends 
up empty...

That seems wrong. For example: If a site calls 
`getUserMedia({video:true, audio: true})` and the user has previously 
blocked the site from accessing their microphone, then the above step 
would prune away all audio tracks, leaving only video tracks in 

This makes it impossible, four steps later, to satisfy this: "The 
provided media MUST include precisely one track of each media type in 
requestedMediaTypes from the `finalSet`." - because no audio tracks 
remain in `finalSet`.

It should probably have jumped to *Permission Failure* in this case.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
 using your GitHub account
Received on Thursday, 5 May 2016 20:59:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:29 UTC