apache / apache/cordova-plugin-camera

Max Video Duration Parameter

Open
#865 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.