Cap preview streams to 30 seconds

This commit is contained in:
absoluteSpacehead 2024-02-07 15:11:24 +00:00
parent c8ad8bd381
commit eb6d471b20

View File

@ -254,6 +254,7 @@ App.post("/upload/audio",
"-use_timeline 1",
"-f dash",
"-ac 2", // downmix
"-t 30" // max of 30 seconds (requested by mc)
])
.output(`${AudioPath}/PreviewChunks/PreviewManifest.mpd`)
.on("start", cl => Debug(`Creating preview stream with ${magenta(cl)}`))