- 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
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
`finalSet`.
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
https://github.com/w3c/mediacapture-main/issues/352#issuecomment-217277706
using your GitHub account
Received on Thursday, 5 May 2016 20:59:00 UTC