|
|
@@ -10,7 +10,7 @@ import {
|
|
10
|
10
|
getDeviceIdByLabel,
|
|
11
|
11
|
groupDevicesByKind,
|
|
12
|
12
|
setAudioInputDeviceAndUpdateSettings,
|
|
13
|
|
- setAudioOutputDeviceId,
|
|
|
13
|
+ setAudioOutputDevice,
|
|
14
|
14
|
setVideoInputDeviceAndUpdateSettings
|
|
15
|
15
|
} from '../base/devices';
|
|
16
|
16
|
import { isIosMobileBrowser } from '../base/environment/utils';
|
|
|
@@ -189,12 +189,11 @@ export function processExternalDeviceRequest( // eslint-disable-line max-params
|
|
189
|
189
|
|
|
190
|
190
|
if (deviceId) {
|
|
191
|
191
|
switch (device.kind) {
|
|
192
|
|
- case 'audioinput': {
|
|
|
192
|
+ case 'audioinput':
|
|
193
|
193
|
dispatch(setAudioInputDeviceAndUpdateSettings(deviceId));
|
|
194
|
194
|
break;
|
|
195
|
|
- }
|
|
196
|
195
|
case 'audiooutput':
|
|
197
|
|
- setAudioOutputDeviceId(deviceId, dispatch);
|
|
|
196
|
+ dispatch(setAudioOutputDevice(deviceId));
|
|
198
|
197
|
break;
|
|
199
|
198
|
case 'videoinput':
|
|
200
|
199
|
dispatch(setVideoInputDeviceAndUpdateSettings(deviceId));
|