Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Use new current broadcast info for admin dashboard data

Gabe Kangas82a16c7d055d
diff --git a/web/pages/index.tsx b/web/pages/index.tsx
index 92fbdfdc07..2c2d116a3a 100644
--- a/web/pages/index.tsx
+++ b/web/pages/index.tsx
@@ -79,7 +79,7 @@ export default function Home() {
}
// map out settings
- const videoQualitySettings = configData?.videoSettings?.videoQualityVariants?.map((setting, index) => {
+ const videoQualitySettings = serverStatusData?.currentBroadcast?.outputSettings?.map((setting, index) => {
const { audioPassthrough, videoPassthrough, audioBitrate, videoBitrate, framerate } = setting;
const audioSetting = audioPassthrough
@@ -109,7 +109,6 @@ export default function Home() {
);
});
-
// inbound
const { viewerCount, sessionPeakViewerCount } = serverStatusData;