
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@whiteguru/capacitor-plugin-media-capture
Advanced tools
Capacitor plugin to capture audio and video
npm install @whiteguru/capacitor-plugin-media-capture
npx cap sync
npm install @whiteguru/capacitor-plugin-media-capture@^6.0.1
npx cap sync
npm install @whiteguru/capacitor-plugin-media-capture@^5.0.1
npx cap sync
npm install @whiteguru/capacitor-plugin-media-capture@^4.0.1
npx cap sync
iOS not available jet
This API requires the following permissions be added to your AndroidManifest.xml:
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
Read about Setting Permissions in the Android Guide for more information on setting Android permissions.
This plugin needs compileSdkVersion = 31 variable (defined in your app's variables.gradle file)
captureVideo(options: CaptureVideoOptions) => Promise<MediaFileResult>
| Param | Type |
|---|---|
options | CaptureVideoOptions |
Returns: Promise<MediaFileResult>
| Prop | Type |
|---|---|
file | MediaFile |
| Prop | Type | Description |
|---|---|---|
name | string | The name of the file, without path information. |
path | string | The full path of the file, including the name. |
type | string | The file's mime type |
size | number | The size of the file, in bytes. |
| Prop | Type | Description |
|---|---|---|
duration | number | Maximum duration per video clip. |
quality | 'uhd' | 'fhd' | 'hd' | 'sd' | Quality of the video. uhd for 4K ultra HD video size (2160p). fhd for full HD video size (1080p). hd for HD video size (720p). sd for SD video size (480p). |
frameRate | number | Framerate (default 30) |
sizeLimit | number | Max file size in bytes. |
FAQs
Capacitor plugin to capture video
The npm package @whiteguru/capacitor-plugin-media-capture receives a total of 29 weekly downloads. As such, @whiteguru/capacitor-plugin-media-capture popularity was classified as not popular.
We found that @whiteguru/capacitor-plugin-media-capture demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.