feat: context isolation support and robust IPC (issue #337)#478
Open
4rayaditya wants to merge 1 commit intojitsi:masterfrom
Open
feat: context isolation support and robust IPC (issue #337)#4784rayaditya wants to merge 1 commit intojitsi:masterfrom
4rayaditya wants to merge 1 commit intojitsi:masterfrom
Conversation
- Refactored SDK to fully support Electron context isolation using preload.js and contextBridge. - Added secure, serializable APIs for screen sharing, remote control, and always-on-top features. - Implemented main process IPC handlers in electron-sdk-ipc.js for all SDK features. - Fixed all import, constructor, and lint errors. - Added logging and demo always-on-top window for visible testing. - Verified integration with a minimal Electron test app.
Contributor
Author
Member
|
Thanks for getting this started @4rayaditya ! We are in the process of refactoring the SDK to deal with some Electron 38 changes, so alas we cannot take these changes as they are today. We'll get back to this issue in due time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR refactors the SDK to fully support Electron’s context isolation, following modern security best practices. It introduces a preload script, secure IPC handlers, and a clear integration pattern for all SDK features.
Key Changes
Context Isolation Ready:
Main Process IPC Handlers:
Example Integration:
Bug Fixes & Lint:
Testing