lowering audio quality since its pretty much same thing for everyone anyways, ty @olokelo

This commit is contained in:
localhost 2025-08-14 20:26:02 +03:00
parent 09ddc3048f
commit 76e8c9c2d4
1 changed files with 1 additions and 2 deletions

View File

@ -148,9 +148,8 @@ app.ws('/download/:id/:quality', async (ws, req) => {
}
const streamOptions: SabrPlaybackOptions = {
preferMP4: true,
videoQuality: req.params.quality,
audioQuality: 'AUDIO_QUALITY_MEDIUM',
audioQuality: 'AUDIO_QUALITY_LOW',
enabledTrackTypes: EnabledTrackTypes.VIDEO_AND_AUDIO
};
const { streamResults } = await createSabrStream(req.params.id, streamOptions);