Daniel Zlotin 7 gadus atpakaļ
vecāks
revīzija
7d7815c7e7
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      scripts/test.e2e.ios.js

+ 1
- 0
scripts/test.e2e.ios.js Parādīt failu

@@ -16,6 +16,7 @@ function run() {
16 16
 }
17 17
 
18 18
 function startRecording() {
19
+  exec.execSync(`ffmpeg -f avfoundation -list_devices true -i ""`);
19 20
   const screenId = exec.execSyncRead(`ffmpeg -f avfoundation -list_devices true -i "" 2>&1 | grep "Capture screen 0" | sed -e "s/.*\\[//" -e "s/\\].*//"`);
20 21
   exec.execAsync(`ffmpeg -f avfoundation -i "${screenId}:none" out.avi`);
21 22
 }