In file services/video_capture/public/interface/video_capture_device_factory.mojom, the interface VideoCaptureDeviceFactory uses instances of VideoCaptureDeviceDescriptor as keys to let clients query for supported formats and create devices. This send more information across the Mojo boundary than necessary. A simple string identifier would suffice.
Comment 1 by chfremer@chromium.org
, Oct 5 2016