bigbluebutton-Github/bigbluebutton-html5/imports/ui/services
prlanzarin 1e53140a00 fix(audio): prevent permission check loop in Safari
Safari may enter a microphone permission check loop due to buggy behavior
in the Permissions API. When permission isn't permanently denied, gUM
requests fail with a NotAllowedError for a few seconds. During this time,
the permission state remains 'prompt' instead of transitioning to 'denied'
and back to 'prompt' after the timeout.

This leads to an issue where, on retrying while in 'prompt' + blocked,
the client loops through gUM checks via: 1) checking permission in the API,
2) receiving 'prompt', so trying gUM, 3) gUM fails, 4) returning to the
modal and checking permission again because the API still says 'prompt'.

Additionally, the `isUsingAudio` flag incorrectly counts the local echo
test/audio settings modal as "using audio," which toggles the flag on/off,
triggering the useEffect that causes the loop more frequently.

To fix this, remove the unnecessary AudioModal permission check that
causes the loop. Also, exclude "isEchoTest" from the `isUsingAudio` flag.
2024-08-20 19:19:08 +00:00
..
audio-manager fix(audio): prevent permission check loop in Safari 2024-08-20 19:19:08 +00:00
auth refactor(storage): replace Tracker.Dependency with observer hook (#20322) 2024-06-06 10:50:03 -03:00
bbb-webrtc-sfu feat(audio): rework audio join without listen only 2024-08-15 00:43:28 +00:00
features feat(whiteboard): add option in disabledFeatures for infinite whiteboard 2024-07-08 10:18:26 -03:00
meeting-settings Remove meeting adapter consumption 2024-06-14 10:30:48 -03:00
mobile-app feat: Button to transfer user to mobile App (#15183) 2022-11-15 09:49:24 -03:00
notification replace lodash isEqual and isEmpty 2023-02-23 10:27:16 -03:00
settings refactor: Remove Hasura database-updates and move them to Gql-Actions (#20634) 2024-07-04 17:00:06 -03:00
storage fix(webcam): a couple of pagination fixes, improvements, et al. (#20720) 2024-07-19 08:52:55 -04:00
users-settings Fix: remove user-settings subscription 2024-04-24 11:18:58 -03:00
virtual-background refactor: remove instanceId from client (#20850) 2024-08-02 14:10:39 -04:00
webrtc-base feat(audio): rework audio join without listen only 2024-08-15 00:43:28 +00:00