only show video feed when connected

This commit is contained in:
Bruno Windels 2022-04-07 16:55:26 +02:00
parent a78ae52a54
commit ad140d5af1

View file

@ -29,6 +29,7 @@ export class CallViewModel extends ViewModel<Options> {
constructor(options: Options) {
super(options);
this.memberViewModels = this.getOption("call").members
.filterValues(member => member.isConnected)
.mapValues(member => new CallMemberViewModel(this.childOptions({member})))
.sortValues((a, b) => a.compare(b));
}