Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Handle player being removed
Gabe Kangas56e89485d5dd
diff --git a/web/components/video/metrics/playback.js b/web/components/video/metrics/playback.jsindex cca3b24566..4438e7a791 100644--- a/web/components/video/metrics/playback.js+++ b/web/components/video/metrics/playback.js@@ -46,6 +46,7 @@ class PlaybackMetrics {this.handleBuffering = this.handleBuffering.bind(this);this.handleEnded = this.handleEnded.bind(this);this.handleError = this.handleError.bind(this);+ this.send = this.send.bind(this);this.collectPlaybackMetrics = this.collectPlaybackMetrics.bind(this);this.handleNoLongerBuffering = this.handleNoLongerBuffering.bind(this);@@ -225,7 +226,7 @@ class PlaybackMetrics {}// If we're paused then do nothing.- if (this.player.paused()) {+ if (!this.player || this.player.paused()) {return;}