Merge pull request #698 from colus001/master

Add totalSeconds description in README.md
This commit is contained in:
Nick Pomfret 2017-05-10 08:46:33 +01:00 committed by GitHub
commit 8878954e08
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ Supported options:
- `location` This is the object returned from `navigator.geolocation.getCurrentPosition()` (React Native's geolocation polyfill). It will add GPS metadata to the image.
- `rotation` This will rotate the image by the number of degrees specified.
- `jpegQuality` (integer between 1 and 100) This property is used to compress the output jpeg file with 100% meaning no jpeg compression will be applied.
- `totalSeconds` This will limit video length by number of seconds specified. Only works in video capture mode.
The promise will be fulfilled with an object with some of the following properties: