Skip to content

Console errors when switching main/secondary windows or exiting with screen sharing #1163

@fightroad

Description

@fightroad

Select which package(s) are affected

@livekit/components-react

Describe the bug

Description:
When using screen sharing and camera simultaneously, console errors consistently appear when:

  1. Switching between main and secondary windows
  2. Exiting the video conference
  3. Toggling between screen share and camera as main display

Error occurs:

  • During window layout transitions
  • When changing focus between screen share and camera feeds
  • When closing/exiting the conference

Image

Reproduction

Steps to reproduce:

  1. Start a video conference
  2. Enable both camera and screen sharing
  3. Try either:
    • Switch between screen share and camera as main display
    • Exit the conference while both feeds are active
  4. Check browser console for errors

Logs

System Info

- Next.js 15.2.4
- @livekit/components-react: latest
- Browser: chrome latest

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions