Display call member speaking status on bottom bar (#2742)

* add mutation observer hok

* add hook to read speaking member by observing iframe content

* display speaking member name in call status bar and improve layout

* fix shrining
This commit is contained in:
Ajay Bura 2026-03-08 22:00:35 +11:00 committed by GitHub
commit 55e8306576
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 229 additions and 21 deletions

View file

@ -163,6 +163,10 @@ export class CallEmbed {
return this.room.roomId;
}
get document(): Document | undefined {
return this.iframe.contentDocument ?? this.iframe.contentWindow?.document;
}
public setTheme(theme: ElementCallThemeKind) {
return this.call.transport.send(WidgetApiToWidgetAction.ThemeChange, {
name: theme,