From f5122e589b8ca4a46da6a8b5be3ff22bbec05661 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Wed, 26 Nov 2025 01:39:39 +1300 Subject: [PATCH] add button to show call stats --- .../components/telephone/TelephonePage.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/frontend/components/telephone/TelephonePage.vue b/src/frontend/components/telephone/TelephonePage.vue index 3c6b94f..7f683ce 100644 --- a/src/frontend/components/telephone/TelephonePage.vue +++ b/src/frontend/components/telephone/TelephonePage.vue @@ -3,7 +3,7 @@
-
+
@@ -76,6 +76,13 @@ + + +
@@ -102,6 +109,12 @@
+ +
+
TX: {{ formatBytes(activeCall.tx_bytes) }} ({{ activeCall.tx_packets }} packets)
+
RX: {{ formatBytes(activeCall.rx_bytes) }} ({{ activeCall.rx_packets }} packets)
+
+
@@ -290,6 +303,7 @@ export default { activeCall: null, isMicMuted: false, isSpeakerMuted: false, + isShowingStats: false, destinationHash: null, isInitiatingCall: false, @@ -551,6 +565,9 @@ export default { console.log(e); } }, + formatBytes: function(bytes) { + return Utils.formatBytes(bytes); + }, }, }