[Webkit-unassigned] [Bug 164010] [WebRTC][OpenWebRTC] implement CaptureDeviceManager
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 26 06:15:44 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=164010
--- Comment #1 from Eric Carlson <eric.carlson at apple.com> ---
(In reply to comment #0)
> Since bug 162147 was fixed our RealtimeMediaSourceCenter is broken because
> the media devices are enumerated in the instance running in the UI process.
> The instance running in the Web process has an empty sourceMap hashmap. I
> think that to solve this we should move the enumeration process in a
> CaptureDeviceManager implementation, similar to what the Mac port does.
>
> We will also likely need a synchronous OWR API to list devices. The API we
> have for this right now is asynchronous.
Or you can make RealtimeMediaSourceCenter::getMediaStreamDevices asynchronous, e.g. it could take a lambda:
using GetDevicesHandler = std::function<void(Vector<CaptureDevice>&&)>;
virtual void getMediaStreamDevices(GetDevicesHandler) = 0;
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161026/18fee2f4/attachment.html>
More information about the webkit-unassigned
mailing list