diff --git a/lib/commands/media-projection.js b/lib/commands/media-projection.js index 0ebbda4d..53f69834 100644 --- a/lib/commands/media-projection.js +++ b/lib/commands/media-projection.js @@ -121,7 +121,8 @@ class MediaProjectionRecorder { } const dstPath = path.join(await tempDir.openDir(), recordings[0]); - await this.adb.pull(`${RECORDINGS_ROOT}/${recordings[0]}`, dstPath); + // increase timeout to 5 minutes because it might take a while to pull a large video file + await this.adb.pull(`${RECORDINGS_ROOT}/${recordings[0]}`, dstPath, {timeout: 300000}); return dstPath; }