Add video background blur

This commit is contained in:
Cristian Florin Ghita
2019-06-28 20:18:47 +03:00
committed by Hristo Terezov
parent 6383d000a9
commit 3b750ddd5a
23 changed files with 649 additions and 45 deletions

View File

@@ -467,6 +467,21 @@ export function createRemoteVideoMenuButtonEvent(buttonName, attributes) {
};
}
/**
* Creates an event indicating that an action related to video blur
* occurred (e.g. It was started or stopped).
*
* @param {string} action - The action which occurred.
* @returns {Object} The event in a format suitable for sending via
* sendAnalytics.
*/
export function createVideoBlurEvent(action) {
return {
action,
actionSubject: 'video.blur'
};
}
/**
* Creates an event indicating that an action related to screen sharing
* occurred (e.g. It was started or stopped).