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

Screen Sharing Issue #1821

Closed
tiofabby opened this issue Dec 9, 2021 · 3 comments
Closed

Screen Sharing Issue #1821

tiofabby opened this issue Dec 9, 2021 · 3 comments

Comments

@tiofabby
Copy link

tiofabby commented Dec 9, 2021

Hi, I upgraded to a recent version of lib-jitsi-meet (e9e3709) and screen sharing stopped working. The video of desktop being shared is not showing up on other participant screens. My code is very similar to default example.js file.

There are no warning or error showing up when switching from cam to desktop in switchVideo() or from onRemoteTrack() when receiving the updated track, it just look like the new stream of video/desktop received by participants is kind of empty.

By looking in more details into track object in console, we can see that 1rst time we receive it the MediaStreamTrack.muted is false, but when user switches, the new track received has such field set to true. Could it be the reason why nothing is being shown up and stream is empty? See below a screenshot of such difference from one same user receiving a remoteTrack for video/cam and then for video/desktop (from same part.):

IssueSharing

  1. Could such field explained why the stream is empty and nothing shows for the video/desktop of participant?
  2. If it does, can we force such field to be true when switching video? So other participants receive it correctly set up?
  3. If not, any idea what could be happening?

Thank you
Fabrice

@DanielMcAssey
Copy link
Contributor

Could be related? #1798

@tiofabby
Copy link
Author

tiofabby commented Dec 10, 2021

Hi @DanielMcAssey and @damencho
Looks like this one may be related indeed to #1798 . So I tried as suggested by @damencho in 1798 to run the latest commit from master (8aa35da , 2021/12/10) to see if the fix added was fixing the screen sharing issue but looks like it is not, see screenshot below, my Video/Desktop stream is still received empty (muted) and nothing get displayed for participants:

image

As you may be wondering too: I have checked that when video/desktop track is created on participant sharing side, track.isMuted() is false, which is good. Also at the room level, when doing the initJitsiConference() I have not set any option like startVideoMuted to true (I tried to force it to false to see if it was fixing the issue but it does not).

I feel grateful you guys are helping on that
Thank you
Fabrice

@tiofabby
Copy link
Author

This issue just disappeared when fixing another wss connection issue between Client and Jitis platform. Closing the issue then.

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

2 participants