]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix max buffer size for youtube-dl
authorChocobozzz <me@florianbigard.com>
Tue, 22 Feb 2022 14:03:13 +0000 (15:03 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 22 Feb 2022 14:03:13 +0000 (15:03 +0100)
server/helpers/youtube-dl/youtube-dl-wrapper.ts

index 68c29cd868d500ac2783472a0671058c0085794e..d585e9a95707ac80085131188e706bd752016a06 100644 (file)
@@ -16,7 +16,7 @@ export type YoutubeDLSubs = {
 }[]
 
 const processOptions = {
-  maxBuffer: 1024 * 1024 * 10 // 10MB
+  maxBuffer: 1024 * 1024 * 30 // 30MB
 }
 
 class YoutubeDLWrapper {