![PyPI Slashes Malware Response Time: 90% of Issues Resolved in Under 24 Hours](https://cdn.sanity.io/images/cgdhsj6q/production/eee3e3fc69826f43dfc3366b71472d981003a5cb-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Slashes Malware Response Time: 90% of Issues Resolved in Under 24 Hours
PyPI has drastically improved its malware response times, resolving 90% of issues in under 24 hours and removing 900 projects since March 2024.
@webex/media-helpers
Advanced tools
Package that provides helper functions for media related activities.
Readme
Media helpers
This is an internal Cisco Webex plugin. As such, it does not strictly adhere to semantic versioning. Use at your own risk. If you're not working on one of our first party clients, please look at our developer api and stick to our public plugins.
npm install --save @webex/media-helpers
There are two effects included in this package:
Virtual background (e.g., blur, image replacement, video replacement) Noise reduction (e.g., background noise removal)
The virtual background effect provides a virtual background for video calling. The virtual background may be an image, an mp4 video, or the user's background with blur applied.
Applying the effect
import {createCameraStream, VirtualBackgroundEffect} from '@webex/media-helpers';
// Create a new video stream.
const cameraStream = createCameraStream(optionalVideoConstraints);
// Create the effect.
const effect = new VirtualBackgroundEffect({
authToken: '<encoded-string>',
mode: `BLUR`,
blurStrength: `STRONG`,
quality: `LOW`,
});
// add the effect on the input camera stream.
await cameraStream.addEffect(effect);
//enable the effect once it is added to the stream
await effect.enable()
The noise reduction effect removes background noise from an audio stream to provide clear audio for calling.
Applying the effect
import {createMicrophoneStream, NoiseReductionEffect} from '@webex/media-helpers';
// Create a new audio stream.
const microphoneStream = createMicrophoneStream(optionalAudioConstraints);
// Create the effect.
const effect = new NoiseReductionEffect({
authToken: '<encoded-string>',
mode: 'WORKLET', // or 'LEGACY'
});
// add the effect on microphone stream.
await microphoneStream.addEffect(effect);
//enable the effect once it is added to the track
await effect.enable()
This package is maintained by Cisco Webex for Developers.
Pull requests welcome. Please see CONTRIBUTING.md for more details.
© 2016-2022 Cisco and/or its affiliates. All Rights Reserved.
FAQs
Package that provides helper functions for media related activities.
The npm package @webex/media-helpers receives a total of 798 weekly downloads. As such, @webex/media-helpers popularity was classified as not popular.
We found that @webex/media-helpers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
PyPI has drastically improved its malware response times, resolving 90% of issues in under 24 hours and removing 900 projects since March 2024.
Security News
Research
The Socket Research team breaks down an obfuscated script designed to facilitate unauthorized file uploads to multiple external services.
Security News
Node.js has automated its security release process, doubling the number of releases, and is re-evaluating unsupported experimental features with the Next 10 group to enhance security.