mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 13:07:46 +00:00
Changed screen capture to non effect. Effects are used to alter the stream, this feature does not need to alter the stream, it just needs access to it Changed image diff library. Previous library diff’ed the whole image, the new one has en early return threshold Use ImageCaptureAPI to take the screenshot. Added polyfill for it and polyfill for createImageBitmap Added analytics
13 lines
426 B
JavaScript
13 lines
426 B
JavaScript
// @flow
|
|
|
|
/**
|
|
* Helper method used to process screenshots captured by the {@code ScreenshotCaptureEffect}.
|
|
*
|
|
* @param {HTMLCanvasElement} canvas - The canvas containing a screenshot to be processed.
|
|
* @param {Object} options - Custom options required for processing.
|
|
* @returns {void}
|
|
*/
|
|
export function processScreenshot(canvas: HTMLCanvasElement, options: Object) { // eslint-disable-line no-unused-vars
|
|
return;
|
|
}
|