spot: try mp4 support with avc1
This commit is contained in:
parent
ce525a4ccf
commit
ccf44fda70
1 changed files with 3 additions and 1 deletions
|
|
@ -19,7 +19,9 @@ 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
|
// 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=h264",
|
||||||
"video/webm;codecs=avc1",
|
"video/webm;codecs=avc1",
|
||||||
"video/webm;codecs=av1",
|
"video/webm;codecs=av1",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue