Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
awscdk-construct-live-channel-from-mp4-file
Advanced tools
CDK Construct for setting up a simple live channel for testing
CDK Construct for setting up a simple live channel for testing
import * as cdk from 'aws-cdk-lib';
import { Construct } from 'constructs';
import { LiveChannelFromMp4 } from 'awscdk-construct-live-channel-from-mp4-file';
export class ExampleStack extends cdk.Stack {
constructor(scope: Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
// Create a single-pipeline MediaLive channel with MediaPackage endpoints
const res = new LiveChannelFromMp4(this, 'LiveChannelFromMp4', {
sourceUrl: 'https://example.com/test.mp4',
channelClass: 'STANDARD', // optional: default = 'SINGLE_PIPELINE'
gopLengthInSeconds: 2, // optional: default = 3
segmentDurationSeconds: 4, // optional: default = 6
manifestWindowSeconds: 20, // optional: default = 60
timecodeBurninPrefix: 'Channel-1', // optional: default = no timecode overlay
hlsAdMarkers: 'SCTE_ENHANCED', // optional: default = DATERANGE
});
// You can access MediaLive channel attributes via `eml.channel`
new cdk.CfnOutput(this, "MediaLiveChannelId", {
value: res.eml.channel.ref,
exportName: cdk.Aws.STACK_NAME + "MediaLiveChannelId",
description: "MediaLive channel ID",
});
// You can access MediaPackage endpoints attributes via `emp.endpoints`
new cdk.CfnOutput(this, "MediaPackageHlsEndpoint", {
value: res.emp.endpoints['hls'].attrUrl,
exportName: cdk.Aws.STACK_NAME + "MediaPackageHlsEndpoint",
description: "MediaPackage HLS endpoint URL",
});
}
}
FAQs
CDK Construct for setting up a simple live channel for testing
The npm package awscdk-construct-live-channel-from-mp4-file receives a total of 3 weekly downloads. As such, awscdk-construct-live-channel-from-mp4-file popularity was classified as not popular.
We found that awscdk-construct-live-channel-from-mp4-file 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.