-
Notifications
You must be signed in to change notification settings - Fork 440
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
desktop: add screen sharing support #12003
Conversation
/backport to stable29 |
0ff3a50
to
ff633a8
Compare
if (typeof window === 'undefined' || window.location.protocol === 'http:') { | ||
if (!IS_DESKTOP && (typeof window === 'undefined' || window.location.protocol === 'http:')) { | ||
error = new Error('NavigatorUserMediaError') | ||
error.name = 'HTTPS_REQUIRED' | ||
return callback(error) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P.S. This code block seems to be never actually used. We check screenSharing support in the button handler anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this code is a library called simplewebrtc
which was discontinued and then copied into our source :P
Back to draft. One case is missing - sharing all the screens at the same time together with the audio. It is a special case in Electron :( |
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
ff633a8
to
a4f3607
Compare
☑️ Resolves
🖌️ UI Checklist
🚧 Tasks
🏁 Checklist