This commit is contained in:
Hugh Nimmo-Smith
2024-11-06 14:02:09 +00:00
parent 733b685e96
commit c829f2f599
2 changed files with 8 additions and 11 deletions

View File

@@ -497,7 +497,7 @@ export class CallViewModel extends ViewModel {
member,
participant,
this.encryptionSystem,
this.livekitRoom
this.livekitRoom,
),
];
}
@@ -552,6 +552,7 @@ export class CallViewModel extends ViewModel {
undefined,
participant,
this.encryptionSystem,
this.livekitRoom,
),
];
}
@@ -724,14 +725,6 @@ export class CallViewModel extends ViewModel {
this.scope.state(),
);
private readonly hasRemoteScreenShares: Observable<boolean> =
this.spotlight.pipe(
map((spotlight) =>
spotlight.some((vm) => !vm.local && vm instanceof ScreenShareViewModel),
),
distinctUntilChanged(),
);
private readonly pip: Observable<UserMediaViewModel | null> =
this.spotlightAndPip.pipe(switchMap(([, pip]) => pip));