Browse Source

install ffmpeg

Daniel Zlotin 6 years ago
parent
commit
ee85c77b6d
2 changed files with 1 additions and 1 deletions
  1. 1
    0
      .travis.yml
  2. 0
    1
      scripts/test.e2e.ios.js

+ 1
- 0
.travis.yml View File

@@ -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 View File

@@ -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
 }