jiti-meet/react/features/notifications
Дамян Минков 768cff48a4
Notify for new device (#4165)
* Fix detecting preferred audio output.

Fixes detecting when a new output device is found and we have stored user preference of using that device.

* Does not store which is the currently open device on save.

Does not save the currently opened device when saving settings dialog, this will be done once we successfully replace the tracks to use the new devices.

* Saves opened audio device after successfully changing it.

If we do it earlier _updateAudioDeviceId is using localAudio and can store wrong value.

* Adds notification for new non preferred devices.

A notification is shown which gives an option to the user to select and use the newly plugged devices.
Adding custom button and handler for the action to the notifications.

* Changes logic to search and handle all newly added devices from array.

* Moves some utility methods to features/base/devices.
2019-05-03 18:25:33 +01:00
..
components Notify for new device (#4165) 2019-05-03 18:25:33 +01:00
actionTypes.js Reorg notifications feature files 2019-03-29 18:52:44 +01:00
actions.js [RN] Implement Notifications on mobile 2018-06-28 12:47:50 +02:00
constants.js Extract notification timeout to a constant 2019-04-01 21:03:36 +02:00
functions.js Reorg notifications feature files 2019-03-29 18:52:44 +01:00
index.js Extract notification timeout to a constant 2019-04-01 21:03:36 +02:00
middleware.js [RN] Implement Notifications on mobile 2018-06-28 12:47:50 +02:00
reducer.js Reorg notifications feature files 2019-03-29 18:52:44 +01:00