Currently, a lot of the processing for getUserMedia, enumerateDevices and the devicechange event is done in content::UserMediaClientImpl.
Now that Blink communicate directly with the browser via Mojo, much of the UserMediaClientImpl code can be moved to Blink.
This is important because:
* It would reduce complexity by reducing the large number of existing layers.
* It would allow using layout tests to test things such as constraints, whose processing is currently in content.
The migration requires migrating MediaStreamDispatcherHost to Mojo and updating MediaDevicesDispatcher (already Mojo) to return types that can be used in Blink.
A full migration would also include moving the MediaStreams framework to Blink, but that is a separate project since that framework depends on several modules in content/ and media/ which are not yet accessible from Blink.
Comment 1 by guidou@chromium.org
, Mar 22 2017Components: Blink>GetUserMedia