mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-18 18:59:23 +00:00
Duplicate screen sharing tiles like we used to
This commit is contained in:
@@ -503,20 +503,22 @@ export class CallViewModel extends ViewModel {
|
|||||||
this.livekitRoom,
|
this.livekitRoom,
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
}
|
|
||||||
if (participant && participant.isScreenShareEnabled) {
|
if (participant?.isScreenShareEnabled) {
|
||||||
const screenShareId = `${mediaId}:screen-share`;
|
const screenShareId = `${indexedMediaId}:screen-share`;
|
||||||
yield [
|
yield [
|
||||||
screenShareId,
|
screenShareId,
|
||||||
prevItems.get(screenShareId) ??
|
prevItems.get(screenShareId) ??
|
||||||
new ScreenShare(
|
new ScreenShare(
|
||||||
screenShareId,
|
screenShareId,
|
||||||
member,
|
member,
|
||||||
participant,
|
participant,
|
||||||
this.encryptionSystem,
|
this.encryptionSystem,
|
||||||
this.livekitRoom,
|
this.livekitRoom,
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}.bind(this)(),
|
}.bind(this)(),
|
||||||
|
|||||||
Reference in New Issue
Block a user