瀏覽代碼

install ffmpeg

Daniel Zlotin 7 年之前
父節點
當前提交
ee85c77b6d
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1
    0
      .travis.yml
  2. 0
    1
      scripts/test.e2e.ios.js

+ 1
- 0
.travis.yml 查看文件

@@ -20,6 +20,7 @@ jobs:
20 20
       before_install:
21 21
         - source ./scripts/env/env.ios.sh
22 22
       script:
23
+        - brew install ffmpeg --with-ffplay
23 24
         # - ./scripts/travis-fold.sh "npm run test-unit-ios -- --release"
24 25
         - ./scripts/travis-fold.sh "npm run test-e2e-ios -- --release"
25 26
 

+ 0
- 1
scripts/test.e2e.ios.js 查看文件

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