Add .gitignore to exclude all node packages and lock files
This commit is contained in:
Generated
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getDefaultAudioCodec = void 0;
|
||||
const getDefaultAudioCodec = ({ container, }) => {
|
||||
if (container === 'webm') {
|
||||
return 'opus';
|
||||
}
|
||||
if (container === 'mp4') {
|
||||
return 'aac';
|
||||
}
|
||||
if (container === 'wav') {
|
||||
return 'wav';
|
||||
}
|
||||
throw new Error(`Unhandled container: ${container}`);
|
||||
};
|
||||
exports.getDefaultAudioCodec = getDefaultAudioCodec;
|
||||
Reference in New Issue
Block a user