Skip to content

refactor: introduce transport abstraction for External API #17243

Open
Rishishinde08 wants to merge 4 commits intojitsi:masterfrom
Rishishinde08:pr-4-transport-abstraction
Open

refactor: introduce transport abstraction for External API #17243
Rishishinde08 wants to merge 4 commits intojitsi:masterfrom
Rishishinde08:pr-4-transport-abstraction

Conversation

@Rishishinde08
Copy link
Copy Markdown

Summary

This PR introduces a transport abstraction layer for the External API.

Changes

  • Added base Transport class
  • Implemented IframeTransport and DirectTransport
  • Refactored external_api.js to use transport abstraction
  • Added fallback mechanism for missing iframe

Motivation

Decouples transport logic from iframe, enabling future work to remove iframe dependency and support direct integration.

Future Work

  • Replace postMessage in DirectTransport with direct function calls
  • Fully eliminate iframe usage

Testing

  • Verified locally using make dev
  • Confirmed no runtime issues

@jitsi-jenkins
Copy link
Copy Markdown

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

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.

2 participants