bandwidth meter

This commit is contained in:
2026-03-11 18:12:08 +01:00
parent ae59d3deac
commit 84745eb104
4 changed files with 226 additions and 127 deletions

View File

@@ -125,6 +125,11 @@ export class ChatPageComponent implements OnDestroy {
.messages()
.filter((entry) => entry.peerId === this.peerId()),
);
readonly lastIncomingReceiveMetric = computed(() => {
const metric = this.session.lastIncomingReceiveMetric();
return metric?.peerId === this.peerId() ? metric : null;
});
readonly remoteCallAudioStream = computed(() =>
this.session.remoteAudioStreamForPeer(this.callModalPeerId() ?? ''),
);