Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Add some todo comments
Gabe Kangasddede6cae211
diff --git a/web/components/video/OwncastPlayer.tsx b/web/components/video/OwncastPlayer.tsxindex 89b54d5310..c453160da4 100644--- a/web/components/video/OwncastPlayer.tsx+++ b/web/components/video/OwncastPlayer.tsx@@ -1,6 +1,4 @@import React from 'react';--// This imports the functional component from the previous sample.import VideoJS from './player';export default function OwncastPlayer(props) {diff --git a/web/components/video/player.tsx b/web/components/video/player.tsxindex d150527f4b..d07b43c33b 100644--- a/web/components/video/player.tsx+++ b/web/components/video/player.tsx@@ -3,6 +3,7 @@ import videojs from 'video.js';require('video.js/dist/video-js.css');+// TODO: Restore volume that was saved in local storage.// import { getLocalStorage, setLocalStorage } from '../../utils/helpers.js';// import { PLAYER_VOLUME, URL_STREAM } from '../../utils/constants.js';@@ -23,6 +24,8 @@ export function VideoJS(props) {onReady && onReady(player);}));+ // TODO: Add airplay support, video settings menu, latency compensator, etc.+// You can update player in the `else` block here, for example:// } else {player.autoplay(options.autoplay);