feat(large-video): background blur through canvas and feature flag

To reduce the amount of motion that has to be blurred, use a canvas
to essentially set the FPS of the video background. This canvas
component is behind a temporary feature flag, as well as being able
to disable the blur, so it can be played around with on deployed
environments.
This commit is contained in:
Leonard Kim
2018-05-01 11:38:29 -07:00
committed by Дамян Минков
parent 0831c16d7e
commit f015f4edc3
6 changed files with 253 additions and 5 deletions

View File

@@ -163,7 +163,17 @@ var interfaceConfig = {
/**
* Specify mobile app scheme for opening the app from the mobile browser.
*/
// APP_SCHEME: 'org.jitsi.meet'
// APP_SCHEME: 'org.jitsi.meet',
/**
* Temporary feature flag to debug performance with the large video
* background blur. On initial implementation, blur was always enabled so a
* falsy value here will be used to keep blur enabled, as will the value
* "video", and will render the blur over a video element. The value
* "canvas" will display the blur over a canvas element, while the value
* "off" will prevent the background from rendering.
*/
// _BACKGROUND_BLUR: undefined
};
/* eslint-enable no-unused-vars, no-var, max-len */