Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #6488

Until now it was checked if the blur background was supported based on
whether Web Assembly was available in the browser and whether the
browser supported the needed canvas filter. This could be done
statically, without having a VirtualBackground object. However, to blur
the background once the VirtualBackground object is created it is also
needed to download and compile a TFLite model; this could fail, for
example, if the web server is not properly configured to send .wasm
files. Now if virtual background is supported but the model failed to
load it behaves as if virtual background is not supported.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
The VirtualBackground may be supported in the browser but not available
due to the TFLite model having failed to load, so behave as if the blur
background is not supported in that case.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@nickvergessen nickvergessen merged commit 2569702 into stable23 Nov 15, 2021
@nickvergessen nickvergessen deleted the backport/6488/stable23 branch November 15, 2021 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants