Skip to content

Commit

Permalink
provide worker file directly to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Jul 12, 2023
1 parent 7302033 commit 502e645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/helpers/livekit/ConnectLivekit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,7 @@ export default class ConnectLivekit

if (isE2EESupported()) {
const workerMaker = new Worker(
new URL(
'/node_modules/livekit-client/src/e2ee/worker/e2ee.worker.ts',
import.meta.url,
),
new URL('./e2ee-worker/livekit-client.e2ee.worker.js', import.meta.url),
);

roomOptions.e2ee = {
Expand Down
2 changes: 2 additions & 0 deletions src/helpers/livekit/e2ee-worker/livekit-client.e2ee.worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 502e645

Please sign in to comment.