|
|
|
@ -122,11 +122,13 @@ export default function Stats() { |
|
|
|
title="Outbound Video Stream" |
|
|
|
title="Outbound Video Stream" |
|
|
|
value={`${setting.videoBitrate} kbps ${setting.framerate} fps`} |
|
|
|
value={`${setting.videoBitrate} kbps ${setting.framerate} fps`} |
|
|
|
prefix={null} |
|
|
|
prefix={null} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<StatisticItem |
|
|
|
<StatisticItem |
|
|
|
title="Outbound Audio Stream" |
|
|
|
title="Outbound Audio Stream" |
|
|
|
value={audioSetting} |
|
|
|
value={audioSetting} |
|
|
|
prefix={null} |
|
|
|
prefix={null} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Row> |
|
|
|
</Row> |
|
|
|
); |
|
|
|
); |
|
|
|
@ -147,16 +149,19 @@ export default function Stats() { |
|
|
|
)}`}
|
|
|
|
)}`}
|
|
|
|
value={formatDistanceToNow(new Date(broadcaster.time))} |
|
|
|
value={formatDistanceToNow(new Date(broadcaster.time))} |
|
|
|
prefix={<ClockCircleOutlined />} |
|
|
|
prefix={<ClockCircleOutlined />} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<StatisticItem |
|
|
|
<StatisticItem |
|
|
|
title="Viewers" |
|
|
|
title="Viewers" |
|
|
|
value={viewerCount} |
|
|
|
value={viewerCount} |
|
|
|
prefix={<UserOutlined />} |
|
|
|
prefix={<UserOutlined />} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<StatisticItem |
|
|
|
<StatisticItem |
|
|
|
title="Peak viewer count" |
|
|
|
title="Peak viewer count" |
|
|
|
value={sessionMaxViewerCount} |
|
|
|
value={sessionMaxViewerCount} |
|
|
|
prefix={<UserOutlined />} |
|
|
|
prefix={<UserOutlined />} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Row> |
|
|
|
</Row> |
|
|
|
|
|
|
|
|
|
|
|
@ -165,16 +170,19 @@ export default function Stats() { |
|
|
|
title="Input" |
|
|
|
title="Input" |
|
|
|
value={formatIPAddress(remoteAddr)} |
|
|
|
value={formatIPAddress(remoteAddr)} |
|
|
|
prefix={null} |
|
|
|
prefix={null} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<StatisticItem |
|
|
|
<StatisticItem |
|
|
|
title="Inbound Video Stream" |
|
|
|
title="Inbound Video Stream" |
|
|
|
value={streamVideoDetailString} |
|
|
|
value={streamVideoDetailString} |
|
|
|
prefix={null} |
|
|
|
prefix={null} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<StatisticItem |
|
|
|
<StatisticItem |
|
|
|
title="Inbound Audio Stream" |
|
|
|
title="Inbound Audio Stream" |
|
|
|
value={streamAudioDetailString} |
|
|
|
value={streamAudioDetailString} |
|
|
|
prefix={null} |
|
|
|
prefix={null} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Row> |
|
|
|
</Row> |
|
|
|
|
|
|
|
|
|
|
|
@ -185,11 +193,13 @@ export default function Stats() { |
|
|
|
title="Stream key" |
|
|
|
title="Stream key" |
|
|
|
value={config.streamKey} |
|
|
|
value={config.streamKey} |
|
|
|
prefix={null} |
|
|
|
prefix={null} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<StatisticItem |
|
|
|
<StatisticItem |
|
|
|
title="Directory registration enabled" |
|
|
|
title="Directory registration enabled" |
|
|
|
value={config.yp.enabled.toString()} |
|
|
|
value={config.yp.enabled.toString()} |
|
|
|
prefix={null} |
|
|
|
prefix={null} |
|
|
|
|
|
|
|
color="#334" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Row> |
|
|
|
</Row> |
|
|
|
|
|
|
|
|
|
|
|
|