[getUserMedia] Ensure triggering onended when a default device is unplugged.
The bug crbug.com/970153 has identified an issue which is present in the way unplugged default and communications devices are handled. In fact, due to the way the IDs for such devices are stored, Chromium was not notifying that such devices were unplugged. This CL addresses the issue by making sure that the event is triggered on both the actual device as well as the virtual default or communications device associated to it BUG=970153 Change-Id: I30949cb8ca6f1d904dbdf94c4002c4c86d6cafc7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1708136Reviewed-by:Guido Urdaneta <guidou@chromium.org> Commit-Queue: Armando Miraglia <armax@chromium.org> Cr-Commit-Position: refs/heads/master@{#680345}
Showing
Please register or sign in to comment