[Webkit-unassigned] [Bug 186294] Implement getDisplayMedia, the Screen Capture API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 12 09:32:02 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=186294
--- Comment #20 from Eric Carlson <eric.carlson at apple.com> ---
(In reply to philipp.weissensteiner from comment #18)
> Thanks for the clarification, Eric.
>
> Since the spec also mentions:
>
> > In the case of audio, the user agent MAY present the end-user with audio sources to share. Which choices are available to choose from is up to the user agent, and the audio source(s) are not necessarily the same as the video source(s)
>
> I'm wondering are there plans to introduce a selectable audio source for gDM?
>
> As of right now, if you were developing a screen sharing application
> you would have to add the audio track manually, correct?
>
> displayStream = gDM({ video: true });
> audioStream = gUM({ audio: true });
>
> displayStream.addTrack(audioStream.getAudioTracks()[0]);
We aren't currently planning to add support for capturing microphone audio to getDisplayMedia. I see two problems, 1) microphone capture and screen capture are conceptually quite different, and 2) adding microphone capture to gDM would require something in the user prompt to make it clear to the user that the page was asking for both, and I'm afaid that it would be easy for a user to overlook the extra request. This will be especially in the much more complicated user prompt required once we support screen capture from a monitor or window.
It *would* make sense to allow screen+audio capture if the audio captured was the audio output from the machine (for screen capture) or application (for window capture), but we don't have system API for that.
Thanks for the feedback! We're always happy to hear about feature requests, bugs, etc - even if we aren't able to do anything as is the case here.
--
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/20190612/5368260e/attachment.html>
More information about the webkit-unassigned
mailing list