
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@pipecat-ai/small-webrtc-transport
Advanced tools
Small WebRTC transport package for use with @pipecat-ai/client-js
.
npm install \
@pipecat-ai/client-js \
@pipecat-ai/small-webrtc-transport
The SmallWebRTCTransport class provides a WebRTC transport layer establishing a PeerConnection with Pipecat SmallWebRTCTransport. It handles audio/video device management, WebRTC connections, and real-time communication between client and bot.
import { PipecatClient } from "@pipecat-ai/client-js";
import { SmallWebRTCTransport } from "@pipecat-ai/small-webrtc-transport";
const pcClient = new PipecatClient({
transport: new SmallWebRTCTransport(),
enableCam: false, // Default camera off
enableMic: true, // Default microphone on
callbacks: {
// Event handlers
},
});
pcClient.connect({
connection_url: 'https://your.server/offer_endpoint'
});
// OR...
pcClient.connect({
endpoint: 'https://your-server/connect', // endpoint to return connection_url
});
The transport can be in one of these states:
The transport implements the various Pipecat event handlers. Check out the docs or samples for more info.
The transport includes error handling for:
BSD-2 Clause
FAQs
Pipecat Small WebRTC Transport Package
The npm package @pipecat-ai/small-webrtc-transport receives a total of 993 weekly downloads. As such, @pipecat-ai/small-webrtc-transport popularity was classified as not popular.
We found that @pipecat-ai/small-webrtc-transport demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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 uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.