Browse Source

Use new current broadcast info for admin dashboard data

pull/1886/head
Gabe Kangas 6 years ago
parent
commit
82a16c7d05
  1. 3
      web/pages/index.tsx

3
web/pages/index.tsx

@ -79,7 +79,7 @@ export default function Home() { @@ -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() { @@ -109,7 +109,6 @@ export default function Home() {
);
});
// inbound
const { viewerCount, sessionPeakViewerCount } = serverStatusData;

Loading…
Cancel
Save