[Webkit-unassigned] [Bug 186294] Implement getDisplayMedia, the Screen Capture API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 11 08:59:48 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=186294

--- Comment #17 from Eric Carlson <eric.carlson at apple.com> ---
(In reply to philipp.weissensteiner from comment #16)
> Hi,
> 
> I noticed that a MediaStream returned by
> 
> getDisplayMedia({ audio: true, video: true })
> 
> does not contain an audio track.

That is by design, and is something the spec allows:

Unlike getUserMedia with regards to audio+video, the user agent is allowed not to return audio even if the audio constraint is present. If the user agent knows no audio will be shared for the lifetime of the stream it MUST NOT include an audio track in the resulting stream. The user agent MAY accept a request for audio and video by only returning a video track in the resulting stream, or it MAY accept the request by returning both an audio track and a video track in the resulting stream.

https://w3c.github.io/mediacapture-screen-share/#mediadevices-additions

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190611/18acaf81/attachment.html>


More information about the webkit-unassigned mailing list