Restore video capture, tweak default settings

pull/1/head
Matteo Cargnelutti 2022-11-18 15:56:20 -05:00
rodzic b3719f92e2
commit d812682556
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -43,9 +43,9 @@ export class TwitterCapture {
ytDlpPath: `${EXECUTABLES_FOLDER}yt-dlp`, ytDlpPath: `${EXECUTABLES_FOLDER}yt-dlp`,
timestampServerUrl: "http://timestamp.digicert.com", timestampServerUrl: "http://timestamp.digicert.com",
networkidleTimeout: 5000, networkidleTimeout: 5000,
browserBehaviorsTimeout: 30000, browserBehaviorsTimeout: 35000,
videoCaptureTimeout: 10000, videoCaptureTimeout: 10000,
renderTimeout: 2500 renderTimeout: 3000
}; };
/** @type {object} - Based on TwitterCapture.defaults */ /** @type {object} - Based on TwitterCapture.defaults */
@ -150,7 +150,7 @@ export class TwitterCapture {
} }
// Try to capture video, if any, and add it as attachment // Try to capture video, if any, and add it as attachment
//await this.captureAndAddVideoToPDF(editablePDF); await this.captureAndAddVideoToPDF(editablePDF);
// Freeze edited PDF in memory // Freeze edited PDF in memory
editedPDF = await editablePDF.save(); editedPDF = await editablePDF.save();