I am trying to find out why the integration test I am adding in https://chromium-review.googlesource.com/c/chromium/src/+/1237379 does not pass on Android.
In my investigation I found that blink::MediaDevices::StartObserving() does not appear to get called on Android, while it does get called on Linux. If my understanding is correct, the call should happen as a reaction to the JavaScript side doing something like
navigator.mediaDevices.ondevicechange = function(event) {
console.log('Received event');
};
which should then trigger a call to
MediaDevices::AddedEventListener().
Is this supposed to work on Android or is there any mechanism by which this is disabled on this platform?
Comment 1 by chfremer@chromium.org
, Oct 9Owner: guidou@chromium.org
Status: Assigned (was: Untriaged)