addressed review comments
This commit is contained in:
parent
41f5872f70
commit
cd6a814978
|
@ -80,7 +80,7 @@ function getNewAudioInputDevice(newDevices, localAudio, newLabel) {
|
||||||
return availableAudioInputDevices[0].deviceId;
|
return availableAudioInputDevices[0].deviceId;
|
||||||
}
|
}
|
||||||
} else if (selectedAudioInputDevice
|
} else if (selectedAudioInputDevice
|
||||||
&& selectedAudioInputDeviceId !== localAudio.getDeviceId()) {
|
&& selectedAudioInputDeviceId !== localAudioDeviceId) {
|
||||||
|
|
||||||
if (newLabel) {
|
if (newLabel) {
|
||||||
// If a Firefox user with manual permission prompt chose a different
|
// If a Firefox user with manual permission prompt chose a different
|
||||||
|
@ -132,7 +132,7 @@ function getNewVideoInputDevice(newDevices, localVideo, newLabel) {
|
||||||
return availableVideoInputDevices[0].deviceId;
|
return availableVideoInputDevices[0].deviceId;
|
||||||
}
|
}
|
||||||
} else if (selectedVideoInputDevice
|
} else if (selectedVideoInputDevice
|
||||||
&& selectedVideoInputDeviceId !== localVideo.getDeviceId()) {
|
&& selectedVideoInputDeviceId !== localVideoDeviceId) {
|
||||||
|
|
||||||
if (newLabel) {
|
if (newLabel) {
|
||||||
// If a Firefox user with manual permission prompt chose a different
|
// If a Firefox user with manual permission prompt chose a different
|
||||||
|
|
Loading…
Reference in New Issue