diff --git a/src/media.ts b/src/media.ts index 75abc626..e4a25bf2 100644 --- a/src/media.ts +++ b/src/media.ts @@ -84,12 +84,6 @@ class MediaSingleton extends EventEmitter implements IMediaDevices { console.error('permissions query mic not supported in firefox, doing fallback', err); } - // eslint-disable-next-line no-async-promise-executor - const { state } = await navigator.permissions.query({ name: 'microphone' }); - if (state === 'granted') { - return; - } - // eslint-disable-next-line no-async-promise-executor this.requestPermissionPromise = new Promise(async (resolve, reject) => { try {