
Research
/Security News
npm Author Qix Compromised via Phishing Email in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
cordova-android-media-projection
Advanced tools
Media Projection API to capture device screen in real time and show it on a Surface-View.. Available for Android ONLY.
Cordova Media Projection is to capture device screen in real time and show it on a Surface-View.
Latest stable version from npm:
$ cordova plugin add cordova-android-media-projection
Bleeding edge version from Github:
$ cordova plugin add https://github.com/disono/cordova-android-media-projection
Call start() to start recording screen. Stopping the recording will return path(/storage/emulated/0/Download/video-xxxxxxxxx.mp4) of video record.
mediaProjection.start([successCallback], [failureCallback]);
mediaProjection.stop([successCallback], [failureCallback]);
mediaProjection.start();
mediaProjection.stop(function (video_path) {
console.log('Save Recording Path: ' + video_path);
}, function (e) {
console.error('Error: ' + e);
});
1. It cannot be used on API version lower than 21
2. Update your config.xml and add this <preference name="android-minSdkVersion" value="21" />
3. Minimum supported Gradle version is 3.3 (Update the GradleBuilder.js find the distributionUrl and replace with var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'https\\://services.gradle.org/distributions/gradle-3.3-all.zip';)
Cordova Media Projection is licensed under the Apache License (ASL) license. For more information, see the LICENSE file in this repository.
FAQs
Media Projection API to capture device screen in real time and show it on a Surface-View.. Available for Android ONLY.
The npm package cordova-android-media-projection receives a total of 0 weekly downloads. As such, cordova-android-media-projection popularity was classified as not popular.
We found that cordova-android-media-projection demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.