aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/youtube-dl/youtube-dl-wrapper.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-22 15:03:13 +0100
committerChocobozzz <me@florianbigard.com>2022-02-22 15:03:13 +0100
commit8296984de4b085231fb1a96c8456a2d79a8ded0c (patch)
tree14bdcb71d2523020216159c8fc835d10caba792c /server/helpers/youtube-dl/youtube-dl-wrapper.ts
parent5301e7762b340367323cbb76d68953c35b909634 (diff)
downloadPeerTube-8296984de4b085231fb1a96c8456a2d79a8ded0c.tar.gz
PeerTube-8296984de4b085231fb1a96c8456a2d79a8ded0c.tar.zst
PeerTube-8296984de4b085231fb1a96c8456a2d79a8ded0c.zip
Fix max buffer size for youtube-dl
Diffstat (limited to 'server/helpers/youtube-dl/youtube-dl-wrapper.ts')
-rw-r--r--server/helpers/youtube-dl/youtube-dl-wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/youtube-dl/youtube-dl-wrapper.ts b/server/helpers/youtube-dl/youtube-dl-wrapper.ts
index 68c29cd86..d585e9a95 100644
--- a/server/helpers/youtube-dl/youtube-dl-wrapper.ts
+++ b/server/helpers/youtube-dl/youtube-dl-wrapper.ts
@@ -16,7 +16,7 @@ export type YoutubeDLSubs = {
16}[] 16}[]
17 17
18const processOptions = { 18const processOptions = {
19 maxBuffer: 1024 * 1024 * 10 // 10MB 19 maxBuffer: 1024 * 1024 * 30 // 30MB
20} 20}
21 21
22class YoutubeDLWrapper { 22class YoutubeDLWrapper {