Skip to content

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

fix(metrics): increase max valid latency reporting time. Troubleshooting

Gabe Kangas88994c9ad679
diff --git a/web/components/video/metrics/playback.js b/web/components/video/metrics/playback.js
index 94aa3b9439..bd6338fa40 100644
--- a/web/components/video/metrics/playback.js
+++ b/web/components/video/metrics/playback.js
@@ -1,7 +1,7 @@
/* eslint-disable no-plusplus */
const URL_PLAYBACK_METRICS = `/api/metrics/playback`;
const METRICS_SEND_INTERVAL = 10000;
-const MAX_VALID_LATENCY_SECONDS = 40; // Anything > this gets thrown out.
+const MAX_VALID_LATENCY_SECONDS = 100; // Anything > this gets thrown out.
function getCurrentlyPlayingSegment(tech) {
const targetMedia = tech.vhs.playlists.media();