aws / amazon-chime-sdk-js

A JavaScript client library for integrating multi-party communications powered by the Amazon Chime service.
Apache License 2.0
710 stars 478 forks source link

Screen share failed with DOMException: The object can not be found here #2041

Closed justsanjit closed 2 years ago

justsanjit commented 2 years ago

What happened and what did you expect to happen?

When I am trying to start a screen share on Firefox (MacOS Catalina, BigSur, or Monterey) using LambdaTest, Screen share failed with "DOMException: The object can not be found here" errors.

Screenshare is working as expected when I test it on macOS Mojave.

Have you reviewed our existing documentation?

Reproduction steps

Amazon Chime SDK for JavaScript version

v2.27.0

What browsers are you seeing the problem on?

Firefox

Browser version

95, 96 or 97

Meeting and Attendee ID Information.

No response

Browser console logs

console-log-screen-share-failed-with-dom-exception.txt

ltrung commented 2 years ago

Have you enabled screen sharing permission for Firefox under Security & Privacy -> Screen Recording -> Firefox? This is an error thrown by the browser and is not from JS SDK.

nainkunal933 commented 2 years ago

@sanjitkung Did you get a chance to take a look at the Mac permissions?

justsanjit commented 2 years ago

It was due to mac permission. After enabling the permission, screen share works as expected.