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 share not working as expected in Firefox and Safari #2871

Closed
4 tasks done
virajhk opened this issue Apr 4, 2024 · 6 comments
Closed
4 tasks done

Screen share not working as expected in Firefox and Safari #2871

virajhk opened this issue Apr 4, 2024 · 6 comments
Labels
video Issues related to quality of the video stream - blurry, jerky, freezes, black screens or unable to s

Comments

@virajhk
Copy link

virajhk commented Apr 4, 2024

What happened and what did you expect to happen?

When a user tries to share screen on Firefox and Safari, the presenter sees that the screen is being shared, but the receiver doesn't see anything being presented. Presenter also sees the following error in console:

[ERROR] ChimeComponentLibraryReactDemo - error during state Connected with action FinishUpdating: TypeError: this.meetingSessionContext.videoCaptureAndEncodeParameter is undefined

Upon clicking stop sharing, nothing happens and the presenter's screen is stuck in sharing mode until the browser window is refreshed.

Attaching a video for reference:

screen_share_issue.mov

Note: Screen sharing works perfectly in Chrome.

Have you reviewed our existing documentation?

Reproduction steps

Try sharing screen on Firefox/Safari and notice that the presenter is able to see that the screen is being shared, but the receiver doesn't see anything. Also, upon trying to stop sharing, notice that contentShareDidStop callback doesn't get triggered when it's added as an observer in audioVideo.addContentShareObserver.

Amazon Chime SDK for JavaScript version

3.17.0

What browsers are you seeing the problem on?

Firefox and Safari

Browser version

Firefox - 124.0.2 (64-bit), Safari - 17.2.1 (19617.1.17.11.12)

Meeting and Attendee ID Information.

No response

Browser console logs

[ERROR] ChimeComponentLibraryReactDemo - error during state Connected with action FinishUpdating: TypeError: this.meetingSessionContext.videoCaptureAndEncodeParameter is undefined
@paulocastellano
Copy link

+1

@hensmi-amazon
Copy link
Contributor

hensmi-amazon commented Apr 16, 2024

Is this only in the React components library? Does this still reproduce with the latest SDKs? We have not been able to reproduce in the latest versions.

@ltrung
Copy link
Contributor

ltrung commented Apr 16, 2024

Can you attach the full browser log to us or cut us a support ticket?

@xd6
Copy link

xd6 commented May 20, 2024

We're seeing this issue with Firefox build 126. I found it was due to this screen share simulcasting (https://github.com/aws/amazon-chime-sdk-js/blob/main/src/audiovideocontroller/DefaultAudioVideoController.ts#L1140). When I removed this call meetingSession.audioVideo.enableSimulcastForContentShare(true) it fixed the issue on Firefox.

@hensmi-amazon hensmi-amazon added the video Issues related to quality of the video stream - blurry, jerky, freezes, black screens or unable to s label May 28, 2024
@hensmi-amazon
Copy link
Contributor

hensmi-amazon commented May 28, 2024

We don't officially support simulcast for camera or screen share on Firefox at this time. You should gate usage of that function with a check on the browser.

@hensmi-amazon
Copy link
Contributor

Please reopen if the issue is not when using simulcast on firefox or safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
video Issues related to quality of the video stream - blurry, jerky, freezes, black screens or unable to s
Projects
None yet
Development

No branches or pull requests

5 participants