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

Stop screensharing on microphone permissions error in AUDIO_SCREEN mode #585

Conversation

RomanMukhin
Copy link
Contributor

@RomanMukhin RomanMukhin commented Jun 9, 2021

WHEN the AUDIO_SCREEN mode is selected
AND screen sharing is allowed
AND microphone is NOT allowed
THEN screen sharing continues despite the fact that "device error" event is triggered (not "device ready")

Expected: screen sharing stream is closed and the device error event is triggered

Copy link
Member

@thijstriemstra thijstriemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @RomanMukhin

does this happen in other screen sharing modes as well?

can you also add a changelog entry?

@RomanMukhin RomanMukhin force-pushed the stop-screen-sharing-on-microphone-permissions-error-in-audio-screen-mode branch from 845dcfa to 4fb6f64 Compare June 9, 2021 12:57
CHANGES.md Outdated Show resolved Hide resolved
@RomanMukhin
Copy link
Contributor Author

@thijstriemstra added entry to changelog. This happens only in AUDIO_SCREEN since it's the only place where navigator.mediaDevices.getDisplayMedia promise is chained with navigator.mediaDevices.getUserMedia promise

@RomanMukhin RomanMukhin force-pushed the stop-screen-sharing-on-microphone-permissions-error-in-audio-screen-mode branch from 4fb6f64 to d533d94 Compare June 9, 2021 13:12
@RomanMukhin RomanMukhin force-pushed the stop-screen-sharing-on-microphone-permissions-error-in-audio-screen-mode branch from d533d94 to 7c6218b Compare June 9, 2021 13:14
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 75.24% when pulling 7c6218b on RomanMukhin:stop-screen-sharing-on-microphone-permissions-error-in-audio-screen-mode into 28b0964 on collab-project:master.

Copy link
Member

@thijstriemstra thijstriemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@thijstriemstra thijstriemstra merged commit 62e70e4 into collab-project:master Jun 12, 2021
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

Successfully merging this pull request may close these issues.

None yet

3 participants