spot: some comments

This commit is contained in:
nick-delirium 2024-09-10 17:00:29 +02:00
parent fc01e47e28
commit 8e0f0d389d
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -16,11 +16,13 @@ function getRecordingSettings(qualityValue) {
const duration = 3 * 60 * 1000; // 3 minutes
const mimeTypes = [
// fastest trimming and HLS
"video/webm;codecs=h264",
"video/webm;codecs=avc1",
"video/webm;codecs=av1",
"video/mp4;codecs=avc1",
"video/webm;codecs=vp8,opus",
// best performance
"video/webm;codecs=vp9,opus",
];