This commit is contained in:
Timo K
2025-11-24 09:44:21 +01:00
parent 3331af1108
commit 28158bfc23
10 changed files with 172 additions and 18 deletions

View File

@@ -358,7 +358,7 @@ export type InitResult = {
passwordlessUser: boolean;
};
async function loadClient(): Promise<InitResult | null> {
export async function loadClient(): Promise<InitResult | null> {
if (widget) {
// We're inside a widget, so let's engage *matryoshka mode*
logger.log("Using a matryoshka client");

View File

@@ -251,6 +251,8 @@ export interface CallViewModel {
participantCount$: Behavior<number>;
/** Participants sorted by livekit room so they can be used in the audio rendering */
audioParticipants$: Behavior<AudioLivekitItem[]>;
/** use the layout instead, this is just for the godot export. */
userMedia$: Behavior<UserMedia[]>;
/** List of participants raising their hand */
handsRaised$: Behavior<Record<string, RaisedHandInfo>>;
/** List of reactions. Keys are: membership.membershipId (currently predefined as: `${membershipEvent.userId}:${membershipEvent.deviceId}`)*/
@@ -1495,6 +1497,7 @@ export function createCallViewModel$(
spotlight$: spotlight$,
pip$: pip$,
layout$: layout$,
userMedia$,
tileStoreGeneration$: tileStoreGeneration$,
showSpotlightIndicators$: showSpotlightIndicators$,
showSpeakingIndicators$: showSpeakingIndicators$,