816f346a60
Allows: * The HLS player to propose an "Audio only" resolution * The live to output an "Audio only" resolution * The live to ingest and output an "Audio only" stream This feature is under a config for VOD videos and is enabled by default for lives In the future we can imagine: * To propose multiple audio streams for a specific video * To ingest an audio only VOD and just output an audio only "video" (the player would play the audio file and PeerTube would not generate additional resolutions) This commit introduce a new way to download videos: * Add "/download/videos/generate/:videoId" endpoint where PeerTube can mux an audio only and a video only file to a mp4 container * The download client modal introduces a new default panel where the user can choose resolutions it wants to download
70 lines
1.4 KiB
JSON
70 lines
1.4 KiB
JSON
{
|
|
"compileOnSave": false,
|
|
"compilerOptions": {
|
|
"outDir": "./dist/out-tsc",
|
|
"sourceMap": true,
|
|
"declaration": false,
|
|
"moduleResolution": "node",
|
|
"module": "es2020",
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
"allowJs": true,
|
|
"importHelpers": true,
|
|
"strictBindCallApply": true,
|
|
"target": "ES2022",
|
|
"typeRoots": [
|
|
"node_modules/@types"
|
|
],
|
|
"lib": [
|
|
"ES2021.Intl",
|
|
"es2018",
|
|
"es2017",
|
|
"es2016",
|
|
"es2015",
|
|
"dom"
|
|
],
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"video.js": [
|
|
"node_modules/video.js/core"
|
|
],
|
|
"@app/*": [
|
|
"src/app/*"
|
|
],
|
|
"@root-helpers/*": [
|
|
"src/root-helpers/*"
|
|
],
|
|
"fs": [
|
|
"src/shims/noop.ts"
|
|
],
|
|
"crypto": [
|
|
"src/shims/noop.ts"
|
|
]
|
|
},
|
|
"useDefineForClassFields": false
|
|
},
|
|
"references": [
|
|
{ "path": "../packages/core-utils" },
|
|
{ "path": "../packages/models" },
|
|
{ "path": "../packages/typescript-utils" }
|
|
],
|
|
"files": [
|
|
"src/polyfills.ts"
|
|
],
|
|
"include": [
|
|
"src/polyfills.ts",
|
|
"src/main*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/app/**/*.ts",
|
|
"src/shims/*.ts"
|
|
],
|
|
"angularCompilerOptions": {
|
|
"strictInjectionParameters": true,
|
|
"fullTemplateTypeCheck": true,
|
|
"strictTemplates": true,
|
|
"enableI18nLegacyMessageIdFormat": false
|
|
}
|
|
}
|