apache / apache/cordova-plugin-camera
Max Video Duration Parameter
- Dominant language
- Objective-C
- Stars
- 976
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
# Feature Request
## Motivation Behind Feature
To allow developers to prevent longer length videos, it would be nice to provide a duration limit similar to the Cordova media capture plugin.
## Feature Description
Provide a parameter representing the max number of seconds to allow a video recording to be before the recording is stopped by the device.
## Alternatives or Workarounds
Perhaps a way to set a timeout in JavaScript code and forcibly stop the recording from there. That is probably more trouble than a duration parameter.
Contributor guide
Research direction
No file or test is named in the issue. Start by locating the video-recording entry points in the plugin and compare the requested behavior with the Cordova media capture plugin; define how the JavaScript parameter maps to each mobile platform. Done means recording stops at the configured maximum number of seconds, with coverage for the supported platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, javascript, objective-c
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100