Skip to content

Background filters are lost when user turn off camera #2011

@Vondry

Description

@Vondry

Which package/packages do you use?

  • @stream-io/video-react-sdk
  • @stream-io/video-react-native-sdk
  • @stream-io/video-client

Describe the bug
When user selected background filter image or blur and then turn off camera (using camera.toggle() from useCameraState), then background filter are lost and user has to go and setup it up again from the begining.

To Reproduce

  1. Setup any background filter (image or blur) using useBackgroundFilters()
  2. Turn off camera using camera.toggle() from useCameraState()
  3. Turn on camera using camera.toggle() from useCameraState()
  4. Observe that filters from 1. step are lost

Expected behavior
I would expect that background filters (image or blur) are preserved during camere toggling.

Version

  • "@stream-io/video-react-sdk": "^1.27.1"
  • "@stream-io/video-filters-web": "^0.5.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions