Add developer mode option to show RTC connection statistics (#2904)

* Add developer mode option to show RTC connection statistics

* Add note about localization

* Add titles to help explain what the numbers are

* Workaround horizontal scrolling

* Use modal to show detailed stats instead of alert

* Changed styling and fixed fps = 0 (#2916)

(React rendered 0 instead of <Text /> for fps && <Text>{fps}</text>)

---------

Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
This commit is contained in:
Hugh Nimmo-Smith
2025-01-06 09:47:39 +00:00
committed by GitHub
parent f521e260b6
commit 2c33d65824
8 changed files with 287 additions and 28 deletions

View File

@@ -78,6 +78,11 @@ export const showNonMemberTiles = new Setting<boolean>(
);
export const debugTileLayout = new Setting("debug-tile-layout", false);
export const showConnectionStats = new Setting<boolean>(
"show-connection-stats",
false,
);
export const audioInput = new Setting<string | undefined>(
"audio-input",
undefined,