Conversation
Reviewer's GuideThis PR adds a new BootstrapBlazor.JitsiMeet library and a Meet component that wraps the Jitsi Meet External API for Blazor: it introduces configuration classes, a Razor component with code-behind to initialize and control Jitsi sessions, a JS module for loading and disposing the external_api.js script, and bundles the Jitsi API into wwwroot. Sequence Diagram for Jitsi Meet Component InitializationsequenceDiagram
actor User
participant MeetRazor as "Meet.razor (UI)"
participant MeetCS as "Meet.razor.cs (Logic)"
participant MeetJS as "Meet.razor.js (JS Interop)"
participant JitsiLib as "JitsiMeetExternalAPI Lib"
User->>MeetRazor: Navigates to page with Meet component
MeetRazor->>MeetCS: Component Initialization / InvokeInitAsync()
MeetCS->>MeetJS: init(id, interop, domain, options)
MeetJS->>MeetJS: addScript('./_content/BootstrapBlazor.JitsiMeet/external_api.js')
MeetJS->>MeetJS: Set options.parentNode
MeetJS->>MeetJS: Set options.onload = () => interop.invokeMethodAsync('OnLoadCallBack')
MeetJS->>JitsiLib: new JitsiMeetExternalAPI(domain, options)
activate JitsiLib
Note right of JitsiLib: Jitsi IFrame loads meeting
JitsiLib-->>MeetJS: (Jitsi loaded) Executes options.onload()
deactivate JitsiLib
MeetJS->>MeetCS: interop.invokeMethodAsync('OnLoadCallBack')
MeetCS->>MeetCS: OnLoadCallBack() executed
MeetCS->>MeetCS: User's OnLoad?.Invoke() callback executed
Sequence Diagram for Jitsi Meet Command ExecutionsequenceDiagram
actor User
participant BlazorAppPage as "Blazor App Page/Component"
participant MeetCS as "Meet.razor.cs (Logic)"
participant MeetJS as "Meet.razor.js (JS Interop)"
participant JitsiAPIInstance as "JitsiMeetExternalAPI Instance"
User->>BlazorAppPage: Triggers an action (e.g., clicks a custom UI button)
BlazorAppPage->>MeetCS: ExecuteCommand("jitsiCommand", {param: "value"})
MeetCS->>MeetJS: executeCommand(id, "jitsiCommand", {param: "value"})
MeetJS->>JitsiAPIInstance: api.executeCommand("jitsiCommand", {param: "value"})
Note right of JitsiAPIInstance: Command executed in Jitsi IFrame
Class Diagram for Jitsi Meet Integration ComponentsclassDiagram
class MeetOption {
+string RoomName
+object Width
+object Height
+object ConfigOverwrite
+object InterfaceConfigOverwrite
+string Jwt
+object Invitees
+object Devices
+UserInfo UserInfo
+string Lang
}
class UserInfo {
+string Email
+string DisplayName
}
class Meet {
+string Domain
+MeetOption Option
+Action OnLoad
+InvokeInitAsync() Task
+ExecuteCommand(string command, object? args) Task
+OnLoadCallBack() void
}
MeetOption "1" --o "1" UserInfo : has a
Meet "1" -- "1" MeetOption : uses
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Link issues
fixes #447
Summary By Copilot
Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Add a new BootstrapBlazor.JitsiMeet extension project containing a Meet component with customizable options, JS module for Jitsi external API integration, and project setup in the solution
New Features:
Enhancements:
Build: