Add a not yet complete audio out selection.

This commit is contained in:
Mészáros Mihály
2020-04-18 23:20:58 +02:00
parent bb9c07de3b
commit e98d80ed57
7 changed files with 164 additions and 5 deletions
+7
View File
@@ -97,6 +97,13 @@ const me = (state = initialState, action) =>
return { ...state, audioDevices: devices };
}
case 'SET_AUDIO_OUTPUT_DEVICES':
{
const { devices } = action.payload;
return { ...state, audioOutputDevices: devices };
}
case 'SET_WEBCAM_DEVICES':
{
const { devices } = action.payload;
+5
View File
@@ -23,6 +23,11 @@ const settings = (state = initialState, action) =>
return { ...state, selectedAudioDevice: action.payload.deviceId };
}
case 'CHANGE_AUDIO_OUTPUT_DEVICE':
{
return { ...state, selectedAudioOutputDevice: action.payload.deviceId };
}
case 'SET_DISPLAY_NAME':
{
const { displayName } = action.payload;