track-processors-js
track-processors-js copied to clipboard
ModuleFactory not set
This is kind of odd but one particular project that I have seems to throw this error "ModuleFactory not set" when using "setProcessor"
I'm using Angular 19 and am worried that there may be something related to that environment that could be causing this. Unfortunately, I don't have a reproducible example at this time, just wanted to put this out there to see if anybody had any thoughts
const blur = BackgroundBlur(10);
await vt.setProcessor(blur);
await lkRoom.localParticipant.publishTrack(vt);
await lkRoom.localParticipant.setMicrophoneEnabled(true);
can you provide the complete stacktrace for the error?
@lukasIO Sorry for delay. Company shifted focus on me. Hopefully this is helpful
Yeah, I think you are right that this might be a very environment specific issue.
You could try to import the processors with a dynamic import instead
Same error unfortunately. ng serve and production builds behave the same way. Will keep digging thanks!