heck yeah fallbacks working

This commit is contained in:
Brooke Vibber 2023-03-27 14:41:21 -07:00
commit 16420f12d4
4 changed files with 116 additions and 28 deletions

View file

@ -16,10 +16,29 @@ $audioCodecs = [
$videoCodecs = [
'vp9' => 'vp09.00.10.08',
'h264' => 'avc1.42e00a',
//'mpeg4' => 'mp4v.20.9',
//'mpeg4' => 'mp4v.20.9', // fail?
//'mpeg4' => 'mp4v.20',
//'mpeg4' => 'mp4v',
'mpeg4' => 'avc1.42e00a',
// Lies for desktop safari
// 'mpeg4' => 'avc1', // lies
// 'h263' => 'avc1', // lies
'mjpeg' => 'jpeg', // works on mov, not mp4
// These lies work on iOS too
'h263' => 'avc1.42e00a', // lies
'mpeg4' => 'avc1.42e00a', // lies
//'mpeg4' => 'mp4v', // ???
//'h263' => 'h263', // ???
/*
'h264' => 'mp4v',
'h263' => 'mp4v',
'mjpeg' => 'mp4v',
'mpeg4' => 'mp4v',
*/
];