mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-29 11:47:15 +00:00
🐛(frontend) stop init_virtual_background from firing on blur updates
A regression introduced with the custom virtual background feature
(16daf7b8, March 26): every blur init on Firefox, and every update
call, was going through `init_virtual_background`, which raised an
error because there is no virtual background to initialize in that
code path.
The existing guard was incorrect. Replace it with an early return,
so `init_virtual_background` is only executed when there is actually
a virtual background to initialize.
This does not fix the other virtual background issues that currently
prevent some users from activating their camera; those will be
addressed separately.
This commit is contained in:
committed by
aleb_the_flash
parent
52e5d99e83
commit
beacfc3d3f
@@ -27,6 +27,7 @@ and this project adheres to
|
|||||||
- ⬆️(mail) bump @html-to/text-cli from 0.6.0 to 0.6.1
|
- ⬆️(mail) bump @html-to/text-cli from 0.6.0 to 0.6.1
|
||||||
- 🐛(frontend) treat client-initiated connect aborts as events
|
- 🐛(frontend) treat client-initiated connect aborts as events
|
||||||
- 🐛(frontend) use state instead of a ref for MoreControls container
|
- 🐛(frontend) use state instead of a ref for MoreControls container
|
||||||
|
- 🐛(frontend) stop init_virtual_background from firing on blur updates
|
||||||
|
|
||||||
## [1.27.0] - 2026-08-14
|
## [1.27.0] - 2026-08-14
|
||||||
|
|
||||||
|
|||||||
+1
-3
@@ -105,9 +105,7 @@ export class BackgroundCustomProcessor implements BackgroundProcessorInterface {
|
|||||||
|
|
||||||
_initVirtualBackgroundImage() {
|
_initVirtualBackgroundImage() {
|
||||||
if (this.options.type !== 'virtual') {
|
if (this.options.type !== 'virtual') {
|
||||||
throw new Error(
|
return
|
||||||
'Virtual background is only supported for virtual background'
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const needsUpdate =
|
const needsUpdate =
|
||||||
|
|||||||
Reference in New Issue
Block a user