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

Switch to the new session API for screen-sharing #1081

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

SimonBrandner
Copy link
Contributor

@SimonBrandner SimonBrandner commented Jul 14, 2023

See electron/electron#30702 - this has the benefit of the js-sdk and LiveKit not having to add custom logic for Electron

Fixes element-hq/element-call#1242

Requires element-hq/element-web#25802
Requires matrix-org/matrix-react-sdk#11266


This change is marked as an internal change (Task), so will not be included in the changelog.

See electron/electron#30702 - this has the benefit of the js-sdk and LiveKit not having to add custom logic for Electron

Signed-off-by: Šimon Brandner <[email protected]>
Comment on lines +191 to +192
await getDisplayMediaCallback()?.({ video: args[0] });
setDisplayMediaCallback(null);
Copy link
Member

Choose a reason for hiding this comment

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

Not a fan of this but don't have suggestions to improve it :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hah, yeah, I also managed to disgust myself but wasn't sure how to fix it. (that could also described me making my first pizza)

@SimonBrandner SimonBrandner merged commit fedaba9 into develop Jul 14, 2023
@SimonBrandner SimonBrandner deleted the SimonBrandner/feat/better-desk-ss branch July 14, 2023 20:05
@Johennes
Copy link
Contributor

Probably nothing we can do about it but I noticed this causing unhandled type errors because some people appear to still run ED using an earlier version of Electron: https://sentry.tools.element.io/organizations/element/issues/83867/events/latest/?project=6&query=release%3AElement-Nightly%402023102401+error.unhandled%3Atrue&referrer=latest-event&sort=freq&stream_index=4

@t3chguy
Copy link
Member

t3chguy commented Oct 25, 2023

@Johennes we don't support using Element Desktop with any Electron version other than the one present in yarn.lock at the time. It is a known issue with some community-maintained packages which rely on a system Electron binary which lags behind.

@Johennes
Copy link
Contributor

Right, yeah. I've already added the fact that we capture this in Sentry to begin with to the list of problems in https://github.com/vector-im/wat-internal/issues/60. Just meant to cross-post here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Screen-sharing doesn't work on Element Desktop in embedded mode
3 participants