Add support for raw AV1/Opus

This commit is contained in:
Zero 2020-11-18 02:17:59 -05:00 committed by Calvin Montgomery
parent 47d268335e
commit 9a008d4623
4 changed files with 11 additions and 4 deletions

View file

@ -24,6 +24,7 @@ const SOURCE_CONTENT_TYPES = new Set([
'audio/aac',
'audio/ogg',
'audio/mpeg',
'audio/opus',
'video/mp4',
'video/ogg',
'video/webm'

View file

@ -80,13 +80,16 @@ var acceptedCodecs = {
"flv/h264": true,
"matroska/vp8": true,
"matroska/vp9": true,
"ogg/theora": true
"ogg/theora": true,
"mov/av1": true,
"matroska/av1": true
};
var acceptedAudioCodecs = {
"mp3": true,
"vorbis": true,
"aac": true
"aac": true,
"opus": true
};
var audioOnlyContainers = {