From 2afc15137bd1c50a17a80f4c8915cdd4f01a3912 Mon Sep 17 00:00:00 2001 From: Micheline Wu <69046953+michelinewu@users.noreply.github.com> Date: Thu, 18 Jun 2026 12:22:48 -0400 Subject: [PATCH 1/2] Fix incorrect bitrateperformance metric. --- app/services/streaming/streaming.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/services/streaming/streaming.ts b/app/services/streaming/streaming.ts index 64bb9ee7673d..0beafe8e570b 100644 --- a/app/services/streaming/streaming.ts +++ b/app/services/streaming/streaming.ts @@ -3525,6 +3525,10 @@ export class StreamingService dataOutput += instance.dataOutput; } + // TODO: Add UI to show bitrate by display but for now average the two displays, which is more accurate + // than only showing the horizontal display's bitrate in dual output mode + kbitsPerSec = Math.round(kbitsPerSec / 2); + return { droppedFrames, totalFrames, kbitsPerSec, dataOutput }; } From 216ed219a087a5b2d5596cfe53a1db630477d3b9 Mon Sep 17 00:00:00 2001 From: Micheline Wu <69046953+michelinewu@users.noreply.github.com> Date: Thu, 18 Jun 2026 12:28:23 -0400 Subject: [PATCH 2/2] Average all instances. --- app/services/streaming/streaming.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/services/streaming/streaming.ts b/app/services/streaming/streaming.ts index 0beafe8e570b..c5a42d904aa2 100644 --- a/app/services/streaming/streaming.ts +++ b/app/services/streaming/streaming.ts @@ -3525,9 +3525,9 @@ export class StreamingService dataOutput += instance.dataOutput; } - // TODO: Add UI to show bitrate by display but for now average the two displays, which is more accurate + // TODO: Add UI to show bitrate by display but for now average the all instances, which is more accurate // than only showing the horizontal display's bitrate in dual output mode - kbitsPerSec = Math.round(kbitsPerSec / 2); + kbitsPerSec = Math.round(kbitsPerSec / Object.keys(this.contexts).length); return { droppedFrames, totalFrames, kbitsPerSec, dataOutput }; }