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

Disabling and re-enabling tracks with active VirtualBackground effects results in a green background #41

Closed kyleparrott closed 6 months ago

kyleparrott commented 6 months ago

I've been integrating this package and run into a couple of issues. One of which is easy to reproduce in the sample app in this repo. Disabling and then re-enabling a video track with an active VirtualBackground effect will result in having the default green background after the video track is re-enabled.

Steps to reproduce:

  1. Launch the sample app
  2. Apply the background image effect
  3. Disable the video track
  4. Re-enable the video track
  5. See the green background is not the image initially applied to the background.

Background