Commit 35a27bf8 authored by henrika@chromium.org's avatar henrika@chromium.org

MediaStreamTrack.getSources list is now updated when input devices is disabled on Windows.

BUG=395733
TEST=https://simpl.info/getusermedia/sources/

Review URL: https://codereview.chromium.org/459363003

Cr-Commit-Position: refs/heads/master@{#289019}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289019 0039d316-1c4b-4281-b951-d872f2087c98
parent d91dd011
......@@ -125,9 +125,6 @@ STDMETHODIMP AudioDeviceListenerWin::OnDeviceRemoved(LPCWSTR device_id) {
STDMETHODIMP AudioDeviceListenerWin::OnDeviceStateChanged(LPCWSTR device_id,
DWORD new_state) {
if (new_state != DEVICE_STATE_ACTIVE && new_state != DEVICE_STATE_NOTPRESENT)
return S_OK;
base::SystemMonitor* monitor = base::SystemMonitor::Get();
if (monitor)
monitor->ProcessDevicesChanged(base::SystemMonitor::DEVTYPE_AUDIO_CAPTURE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment