From 8787e3421b97fdac4ac99420a50d51977f789f19 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 17 Nov 2020 22:48:03 -0800 Subject: [PATCH] Show framerate of inbound video stream --- web/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pages/index.tsx b/web/pages/index.tsx index cdb5242d5..00556f946 100644 --- a/web/pages/index.tsx +++ b/web/pages/index.tsx @@ -72,7 +72,7 @@ export default function Home() { const { audioPassthrough, audioBitrate, videoBitrate, framerate } = setting; const audioSetting = audioPassthrough || audioBitrate === 0 - ? `${streamDetails.audioBitrate} kpbs (passthrough)` + ? `${streamDetails.audioCodec} ${streamDetails.audioBitrate} kpbs` : `${audioBitrate} kbps`; let settingTitle = 'Outbound Stream Details'; @@ -95,7 +95,7 @@ export default function Home() { }); const { viewerCount, sessionMaxViewerCount } = serverStatusData; - const streamVideoDetailString = `${streamDetails.videoCodec} ${streamDetails.videoBitrate} kbps ${streamDetails.width}x${streamDetails.height}`; + const streamVideoDetailString = `${streamDetails.videoCodec} ${streamDetails.videoBitrate} kbps ${streamDetails.framerate}fps ${streamDetails.width}x${streamDetails.height}`; const streamAudioDetailString = `${streamDetails.audioCodec} ${streamDetails.audioBitrate} kbps`; const broadcastDate = new Date(broadcaster.time);