Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
fix: hide latency card for admin if latency is 0 (#3047)
Abhishek Guptacdd3e3ec6b44
diff --git a/web/pages/admin/stream-health.tsx b/web/pages/admin/stream-health.tsxindex b860611e8d..fa98089055 100644--- a/web/pages/admin/stream-health.tsx+++ b/web/pages/admin/stream-health.tsx@@ -300,19 +300,21 @@ const StreamHealth = () => {</div></Card></Col>- <Col>- <Card type="inner">- <div style={statStyle}>- <Statistic- title="Viewer Latency"- value={`${latencyStat}`}- prefix={<ClockCircleOutlined style={{ marginRight: '5px' }} />}- precision={0}- suffix="seconds"- />- </div>- </Card>- </Col>+ {latencyStat && (+ <Col>+ <Card type="inner">+ <div style={statStyle}>+ <Statistic+ title="Viewer Latency"+ value={`${latencyStat}`}+ prefix={<ClockCircleOutlined style={{ marginRight: '5px' }} />}+ precision={0}+ suffix="seconds"+ />+ </div>+ </Card>+ </Col>+ )}<Col><Card type="inner"><div style={statStyle}>