Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Guard against possible invalid tech usage
Gabe Kangascb0611a5c3f3
diff --git a/webroot/js/components/player.js b/webroot/js/components/player.jsindex 9edfb251bb..7376b1a7d7 100644--- a/webroot/js/components/player.js+++ b/webroot/js/components/player.js@@ -292,6 +292,11 @@ class OwncastPlayer {// Quality selectednewMenuItem.on('click', function () {+ // If for some reason tech doesn't exist, then don't do anything+ if (!tech) {+ console.warn('Invalid attempt to access null player tech');+ return;+ }// Only enable this single, selected representation.tech.vhs.representations().forEach(function (rep, index) {rep.enabled(index === item.index);