Duplicate screen sharing tiles like we used to

This commit is contained in:
Hugh Nimmo-Smith
2024-11-07 11:30:08 +00:00
parent f9f8f378af
commit dfd7273ac6
+5 -3
View File
@@ -503,9 +503,9 @@ export class CallViewModel extends ViewModel {
this.livekitRoom,
),
];
}
if (participant && participant.isScreenShareEnabled) {
const screenShareId = `${mediaId}:screen-share`;
if (participant?.isScreenShareEnabled) {
const screenShareId = `${indexedMediaId}:screen-share`;
yield [
screenShareId,
prevItems.get(screenShareId) ??
@@ -518,6 +518,8 @@ export class CallViewModel extends ViewModel {
),
];
}
}
}
}.bind(this)(),
);