Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot share camera after screen sharing #804

Closed
adcimon opened this issue Mar 20, 2024 · 4 comments
Closed

Cannot share camera after screen sharing #804

adcimon opened this issue Mar 20, 2024 · 4 comments

Comments

@adcimon
Copy link

adcimon commented Mar 20, 2024

Select which package(s) are affected

@livekit/components-react

Describe the bug

What I'm expecting

Participant A enters a room, shares the screen and enables the camera (a participant B is already in the room). Participant B sees the screen shared AND the camera.

What happens instead

Participant A enters a room, shares the screen and enables the camera (a participant B is already in the room). Participant B sees the screen shared but NOT the camera.

Reproduction

Reproduced with the VideoConference component.

  1. Participant A enters a room.
  2. Participant B enters a room.
  3. Participant A shares the screen.
  4. Participant B can see the screen shared.
  5. Participant A enables the camera.
  6. Participant B cannot see the camera.

Logs

No response

System Info

"@livekit/components-react": "2.0.3"
"livekit-client": "2.0.2"

Although it didn't work on previous versions.

Severity

serious, but I can work around it

Additional Information

No response

@adcimon adcimon changed the title Cannot share camera after enabling screen sharing Cannot share camera after screen sharing Mar 20, 2024
@lukasIO
Copy link
Contributor

lukasIO commented Mar 20, 2024

Reproduced with the VideoConference component.

I just tried this on meet.livekit.io and following your repro steps. And B can see the camera of A.

Can you reproduce this there as well?
If so, please post logs.

@davidzhao
Copy link
Member

What is the browser and the version?

@adcimon
Copy link
Author

adcimon commented Mar 21, 2024

Participant A: Firefox 124
Participant B: Chrome 122.0.6261.129

Reproduced on meet.livekit.io.
It doesn't happen if the participant B (Chrome) is the one who shares. Seems an issue with Firefox.

Copy link
Contributor

lukasIO commented Mar 21, 2024

thank you, this apparently will have to be fixed in pion, here's the issue tracking it pion/webrtc#2107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants