only show video feed when connected
This commit is contained in:
parent
a78ae52a54
commit
ad140d5af1
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ export class CallViewModel extends ViewModel<Options> {
|
||||||
constructor(options: Options) {
|
constructor(options: Options) {
|
||||||
super(options);
|
super(options);
|
||||||
this.memberViewModels = this.getOption("call").members
|
this.memberViewModels = this.getOption("call").members
|
||||||
|
.filterValues(member => member.isConnected)
|
||||||
.mapValues(member => new CallMemberViewModel(this.childOptions({member})))
|
.mapValues(member => new CallMemberViewModel(this.childOptions({member})))
|
||||||
.sortValues((a, b) => a.compare(b));
|
.sortValues((a, b) => a.compare(b));
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue