Use new current broadcast info for admin dashboard data
This commit is contained in:
+1
-2
@@ -79,7 +79,7 @@ export default function Home() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// map out settings
|
// 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 { audioPassthrough, videoPassthrough, audioBitrate, videoBitrate, framerate } = setting;
|
||||||
|
|
||||||
const audioSetting = audioPassthrough
|
const audioSetting = audioPassthrough
|
||||||
@@ -109,7 +109,6 @@ export default function Home() {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// inbound
|
// inbound
|
||||||
const { viewerCount, sessionPeakViewerCount } = serverStatusData;
|
const { viewerCount, sessionPeakViewerCount } = serverStatusData;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user