Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Merge branch 'master' of github.com:owncast/owncast-admin

gingervitis3f1f96a76896
diff --cc web/pages/index.tsx
index 3da98746d3,bd9e2d124c..166e1a637b
--- a/web/pages/index.tsx
+++ b/web/pages/index.tsx
@@@ -8,7 -8,7 +8,11 @@@ TODO: Link each overview value to the s
*/
import React, { useState, useEffect, useContext } from "react";
++<<<<<<< HEAD
+import { Row, Skeleton, Typography } from "antd";
++=======
+ import { Row, Col, Skeleton, Result, List, Typography, Card } from "antd";
++>>>>>>> 4cdf5b73baa0584a0e6b2f586c27ca53923c65c7
import { UserOutlined, ClockCircleOutlined } from "@ant-design/icons";
import { formatDistanceToNow, formatRelative } from "date-fns";
import { ServerStatusContext } from "../utils/server-status-context";
@@@ -27,14 -26,11 +31,18 @@@ import { formatIPAddress, isEmptyObjec
const { Title } = Typography;
++<<<<<<< HEAD
++=======
+
++>>>>>>> 4cdf5b73baa0584a0e6b2f586c27ca53923c65c7
+<<<<<<< HEAD
+export default function Home() {
+ const context = useContext(BroadcastStatusContext);
+=======
export default function Stats() {
const context = useContext(ServerStatusContext);
+>>>>>>> ca90d28ec1d0a0f0059a4649dd00fb95b9d4fa3d
const { broadcaster } = context || {};
const { remoteAddr, streamDetails } = broadcaster || {};
diff --cc web/pages/offline-notice.tsx
index f2175561c8,0000000000..85bb10f5ea
mode 100644,000000..100644
--- a/web/pages/offline-notice.tsx
+++ b/web/pages/offline-notice.tsx
@@@ -1,56 -1,0 +1,66 @@@
+import { Result, List, Card } from "antd";
+import OwncastLogo from "./components/logo"
+
+export default function Offline() {
+ const data = [
+ {
+ title: "Send some test content",
+ content: (
+ <div>
- With any video you have around you can pass it to the test script and start streaming it.
++ Test your server with any video you have around. Pass it to the test script and start streaming it.
+ <blockquote>
+ <em>./test/ocTestStream.sh yourVideo.mp4</em>
+ </blockquote>
+ </div>
+ ),
+ },
+ {
+ title: "Use your broadcasting software",
+ content: (
+ <div>
+ <a href="https://owncast.online/docs/broadcasting/">Learn how to point your existing software to your new server and start streaming your content.</a>
+ </div>
+ )
+ },
+ {
- title: "Something else",
++ title: "Chat is disabled",
++ content: "Chat will continue to be disabled until you begin a live stream."
+ },
++ {
++ title: "Embed your video onto other sites",
++ content: (
++ <div>
++ <a href="https://owncast.online/docs/embed">Learn how you can add your Owncast stream to other sites you control.</a>
++ </div>
++ )
++ }
+ ];
+ return (
+ <div>
+ <Result
+ icon={<OwncastLogo />}
+ title="No stream is active."
+ subTitle="You should start one."
+ />
+
+ <List
+ grid={{
+ gutter: 16,
+ xs: 1,
+ sm: 2,
- md: 4,
- lg: 4,
- xl: 6,
++ md: 2,
++ lg: 6,
++ xl: 3,
+ xxl: 3,
+ }}
+ dataSource={data}
+ renderItem={(item) => (
+ <List.Item>
+ <Card title={item.title}>{item.content}</Card>
+ </List.Item>
+ )}
+ />
++ {logTable}
+ </div>
+ );
+}