From 0df4c30c904581017578874e0e5dcaa4a17759b0 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Thu, 13 Feb 2025 17:17:15 +0100 Subject: [PATCH] spot: try mp4 support with avc1 --- spot/entrypoints/offscreen/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spot/entrypoints/offscreen/main.js b/spot/entrypoints/offscreen/main.js index 6d93b2df7..8c2599b79 100644 --- a/spot/entrypoints/offscreen/main.js +++ b/spot/entrypoints/offscreen/main.js @@ -19,7 +19,9 @@ function getRecordingSettings(qualityValue) { const duration = 3 * 60 * 1000; // 3 minutes const mimeTypes = [ - // fastest trimming and HLS + // best support for backend + 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"', + // fast trimming if we "pretend" that its a webm "video/webm;codecs=h264", "video/webm;codecs=avc1", "video/webm;codecs=av1",