Skip to content

Commit

Permalink
- Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
AbedElazizShe committed Aug 16, 2020
1 parent c04f3d7 commit daec694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Version.coroutin
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Version.coroutines}"
```

Then just call [doVideoCompression] and pass both source and destination file paths. The method has a callback for 5 functions;
Then just call [VideoCompressor.start()] and pass both source and destination file paths. The method has a callback for 5 functions;
1) OnStart - called when compression started
2) OnSuccess - called when compression completed with no errors/exceptions
3) OnFailure - called when an exception occurred or video bitrate and size are below the minimum required for compression.
Expand Down

0 comments on commit daec694

Please sign in to comment.