add connectedclients endpoint

This commit is contained in:
Ginger Wong
2020-10-08 00:26:24 -07:00
parent c6c14bf216
commit e554a2a877
3 changed files with 47 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ import React, { useState, useEffect } from 'react';
import BroadcastInfo from './components/broadcast-info';
import HardwareInfo from './components/hardware-info';
import ViewerInfo from './components/viewer-info';
import ConnectedClients from './components/connected-clients';
export default function HomeView(props) {
const { broadcastActive, broadcaster, message } = props;
@@ -12,6 +13,7 @@ export default function HomeView(props) {
<BroadcastInfo {...broadcaster} />
<HardwareInfo />
<ViewerInfo />
<ConnectedClients />
</>
) : null;
@@ -24,7 +26,8 @@ export default function HomeView(props) {
</p>
<h2>Utilities</h2>
(these dont do anything yet)
<p>(these dont do anything yet)</p>
{disconnectButton}
<button type="button">Change Stream Key</button>
<button type="button">Server Config</button>