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
36 stars 15 forks source link

Failed to construct 'MediaStreamTrackProcessor': Input track cannot be ended #22

Open Mihai-github opened 1 year ago

Mihai-github commented 1 year ago

Hello, today one of our users encountered this error, and our error-tracking platform caught it. Seems like some kind of error occurred when the user tried to change the background and from what the error message says we assume when the LocalTrack.stopProcessor() executed the track maybe wasn't available anymore or something like that.

Is there any way we can identity the root of the issue?

lukasIO commented 1 year ago

Did this cause any actual issues for the user or are you mainly concerned about the uncaught exception that occured?

It's hard to tell what might have happened there without debug logs. If you find a way to repro the exception, I'm happy to take a look!