feat(external_api,devices) drop use of isDeviceListAvailable

It's always true.
This commit is contained in:
Saúl Ibarra Corretgé
2025-04-14 15:49:27 +02:00
committed by Saúl Ibarra Corretgé
parent a07a1cfe93
commit ee3f82bf0c
5 changed files with 10 additions and 22 deletions

View File

@@ -2069,8 +2069,7 @@ export default {
_initDeviceList(setDeviceListChangeHandler = false) {
const { mediaDevices } = JitsiMeetJS;
if (mediaDevices.isDeviceListAvailable()
&& mediaDevices.isDeviceChangeAvailable()) {
if (mediaDevices.isDeviceChangeAvailable()) {
if (setDeviceListChangeHandler) {
this.deviceChangeListener = devices =>
window.setTimeout(() => this._onDeviceListChanged(devices), 0);