jiti-meet/react
virtuacoplenny 7a677ead93
ref(device-selection): set audio output sink id after receiving ref (#4066)
The Audio.js setRef callback does not behave like react ref callback
in that the former will not have fired before componentDidMount
but the later will have. So for audio output preview, trying to set
sink id on mount will no-op because it does not have a ref yet to
Audio.js, possibly leading to audio output previews playing on
the default speaker device. This generally has not been a user
visible problem due to coincidence; other re-renders necessary
by the parent of audio output preview will have triggered
componentDidUpdates on the audio out preview, which would then
set the sink id on the Audio.js ref it should have received
by then.
2019-04-08 10:38:06 -07:00
..
features ref(device-selection): set audio output sink id after receiving ref (#4066) 2019-04-08 10:38:06 -07:00
.eslintrc-react-native.js feat(eslint): use new eslint-config-jitsi 2018-06-13 11:27:39 +02:00
.eslintrc.js ref(eslint): remove React deprecated method rule suppression 2019-01-09 14:28:59 +01:00
index.native.js rn: drop deep / universal links handling from JS 2019-03-12 16:55:28 +01:00
index.web.js fix(web_ios): Not rendering when the browser back button is pressed. 2018-05-07 15:26:19 +02:00