Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(screenshot-captue): get the right worker url
Gabriel Borlea0ecd65777e0e
diff --git a/react/features/screenshot-capture/ScreenshotCaptureSummary.tsx b/react/features/screenshot-capture/ScreenshotCaptureSummary.tsxindex 4fbbf8e57c..94347c3687 100644--- a/react/features/screenshot-capture/ScreenshotCaptureSummary.tsx+++ b/react/features/screenshot-capture/ScreenshotCaptureSummary.tsx@@ -45,8 +45,14 @@ export default class ScreenshotCaptureSummary {// Bind handlers such that they access the same instance.this._handleWorkerAction = this._handleWorkerAction.bind(this);const baseUrl = `${getBaseUrl()}libs/`;- const workerUrl = `${baseUrl}screenshot-capture-worker.min.js`;+ let workerUrl = `${baseUrl}screenshot-capture-worker.min.js`;++ // @ts-ignore+ const workerBlob = new Blob([ `importScripts("${workerUrl}");` ], { type: 'application/javascript' });++ // @ts-ignore+ workerUrl = window.URL.createObjectURL(workerBlob);this._streamWorker = new Worker(workerUrl, { name: 'Screenshot capture worker' });this._streamWorker.onmessage = this._handleWorkerAction;