Merge branch 'toger5/delayed-event-delegation' into toger5/userMedia-alternative

This commit is contained in:
Timo K
2026-01-09 19:38:21 +01:00
7 changed files with 30 additions and 30 deletions

View File

@@ -738,17 +738,17 @@ export function createCallViewModel$(
for (const matrixLivekitMember of allMatrixLivekitMembers) {
const { userId, participant, connection$, membership$ } =
matrixLivekitMember;
const memb = membership$.value;
const rtcId = membership$.value.rtcBackendIdentity; // rtcBackendIdentity
const mediaId = computeMediaId(matrixLivekitMember);
for (let dup = 0; dup < 1 + duplicateTiles; dup++) {
yield {
keys: [dup, mediaId, userId, participant, connection$, memb],
keys: [dup, mediaId, userId, participant, connection$, rtcId],
data: undefined,
};
}
}
},
(scope, _, dup, mediaId, userId, participant, connection$, memb) => {
(scope, _, dup, mediaId, userId, participant, connection$, rtcId) => {
const livekitRoom$ = scope.behavior(
connection$.pipe(map((c) => c?.livekitRoom)),
);
@@ -765,7 +765,7 @@ export function createCallViewModel$(
scope,
`${mediaId}:${dup}`,
userId,
memb,
rtcId,
participant,
options.encryptionSystem,
livekitRoom$,