Fix import ReturnCode

pull/239/head
GioPz96 4 years ago committed by GitHub
parent 48533712d9
commit 56789d9cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      react-native/README.md

@ -194,7 +194,7 @@ compare to each other.
1. Execute FFmpeg commands. 1. Execute FFmpeg commands.
```js ```js
import { FFmpegKit } from 'ffmpeg-kit-react-native'; import { FFmpegKit, ReturnCode } from 'ffmpeg-kit-react-native';
FFmpegKit.executeAsync('-i file1.mp4 -c:v mpeg4 file2.mp4', async (session) => { FFmpegKit.executeAsync('-i file1.mp4 -c:v mpeg4 file2.mp4', async (session) => {
const returnCode = await session.getReturnCode(); const returnCode = await session.getReturnCode();

Loading…
Cancel
Save