livekit / track-processors-js

Pre-built track processors for background images, blur, etc for use with the LiveKit JS Client SDK
https://livekit.io
Apache License 2.0
34 stars 15 forks source link

setProcessor not working #4

Closed Mihai-github closed 1 year ago

Mihai-github commented 1 year ago

Hey, I am trying to implement this library into our project but I'm having some issues with an error appearing while trying to use the examples provided, the error is attached to this ticket. Is something that I did not do or there's something different happening in there

image

Thanks!

lukasIO commented 1 year ago

there was a problem with the version being hardcoded as a string. this is fixed in v0.1.2!

Mihai-github commented 1 year ago

@lukasIO I am currently running:

"@livekit/track-processors": "^0.1.2",
"livekit-client": "^1.10.0",
"@livekit/react-components": "^1.1.0",
lukasIO commented 1 year ago

hmm. something was weird with the dist folder, I re-released, can you try again with 0.1.3?

Mihai-github commented 1 year ago

Yes, but I don't know why but I keep getting now when importing the module

Cannot find module '@livekit/track-processors' or its corresponding type declarations.

for import {BackgroundBlur, VirtualBackground} from '@livekit/track-processors';

Mihai-github commented 1 year ago

@lukasIO So there's a issue with the latest release, check please the below screen shoots added:

v0.1.2 image

and v0.1.3 image

lukasIO commented 1 year ago

thanks! just realised it, fixed in the latest version. sorry again!

Mihai-github commented 1 year ago

Thanks, @lukasIO, works now with the v0.1.4.