spot: some comments
This commit is contained in:
parent
fc01e47e28
commit
8e0f0d389d
1 changed files with 2 additions and 0 deletions
|
|
@ -16,11 +16,13 @@ function getRecordingSettings(qualityValue) {
|
||||||
const duration = 3 * 60 * 1000; // 3 minutes
|
const duration = 3 * 60 * 1000; // 3 minutes
|
||||||
|
|
||||||
const mimeTypes = [
|
const mimeTypes = [
|
||||||
|
// fastest trimming and HLS
|
||||||
"video/webm;codecs=h264",
|
"video/webm;codecs=h264",
|
||||||
"video/webm;codecs=avc1",
|
"video/webm;codecs=avc1",
|
||||||
"video/webm;codecs=av1",
|
"video/webm;codecs=av1",
|
||||||
"video/mp4;codecs=avc1",
|
"video/mp4;codecs=avc1",
|
||||||
"video/webm;codecs=vp8,opus",
|
"video/webm;codecs=vp8,opus",
|
||||||
|
// best performance
|
||||||
"video/webm;codecs=vp9,opus",
|
"video/webm;codecs=vp9,opus",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue