
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Use getClientConfiguration
to generate a ClientConfiguration
object by analyzing the user's hardware and software setup and combining it with the desired streaming options. Use fetchStreamConfiguration
to query AWS IVS REST API for the optimal streaming setup.
Automatic stream configuration helps users get started quickly and automatically improves the quality of streams over time. Instead of users manually choosing settings (e.g., bitrate, resolution, framerate) that are set once and rarely tweaked, automatic stream configuration considers current software settings, hardware configuration, and platform support every time the user starts a new stream. For example, when a user upgrades the setup (e.g., with a new GPU), installs a new GPU driver, or the destination starts to support a new codec (e.g., H.265/HEVC), automatic stream configuration reacts and improves the quality of the user's next stream.
AWS documentation at docs.aws.amazon.com.
npm install ivs-asc --save
Construct stream configuration without sending it to IVS
import { getClientConfiguration, FetchOptions } from 'ivs-asc';
const options: FetchOptions = {
authKey: 'authkey',
video: { width: 1920, height: 1080, fps: 60 }
}
getClientConfiguration(options).then(console.log);
Fetch optimal streaming configuration from IVS
import { fetchStreamConfiguration, FetchOptions, IVSResponse } from 'ivs-asc';
async function automaticStreamConfiguration() {
const options: FetchOptions = {
authKey: 'authkey',
video: {
width: 1920,
height: 1080,
fps: 60,
maxBitrateKbps: 4000,
maxTracks: 3,
supportedCodecs: ["h264", "h265", "av1"]
}
}
const response: IVSResponse = await fetchStreamConfiguration(options);
if (response.status?.result === 'error') {
console.log(response.status.html_en_us);
}
else {
console.log(response);
}
}
automaticStreamConfiguration();
FAQs
Automatic Stream Configuration for AWS IVS
The npm package ivs-asc receives a total of 1 weekly downloads. As such, ivs-asc popularity was classified as not popular.
We found that ivs-asc 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.