lowering audio quality since its pretty much same thing for everyone anyways, ty @olokelo
This commit is contained in:
parent
09ddc3048f
commit
76e8c9c2d4
3
index.ts
3
index.ts
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue