New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@livekit/rtc-node

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livekit/rtc-node - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

3

dist/audio_source.js

@@ -62,3 +62,4 @@ import { FfiClient } from './ffi_client.js';

const elapsed = this.lastCapture === 0 ? 0 : now - this.lastCapture;
this.currentQueueSize += (frame.samplesPerChannel / frame.sampleRate - elapsed) * 1000;
const frameDurationMs = (frame.samplesPerChannel / frame.sampleRate) * 1000;
this.currentQueueSize += frameDurationMs - elapsed;
this.lastCapture = now;

@@ -65,0 +66,0 @@ if (this.timeout) {

@@ -6,3 +6,3 @@ {

"author": "LiveKit",
"version": "0.9.0",
"version": "0.9.1",
"main": "dist/index.js",

@@ -47,7 +47,7 @@ "types": "dist/index.d.ts",

"optionalDependencies": {
"@livekit/rtc-node-darwin-arm64": "0.9.0",
"@livekit/rtc-node-darwin-x64": "0.9.0",
"@livekit/rtc-node-linux-arm64-gnu": "0.9.0",
"@livekit/rtc-node-linux-x64-gnu": "0.9.0",
"@livekit/rtc-node-win32-x64-msvc": "0.9.0"
"@livekit/rtc-node-darwin-arm64": "0.9.1",
"@livekit/rtc-node-darwin-x64": "0.9.1",
"@livekit/rtc-node-linux-arm64-gnu": "0.9.1",
"@livekit/rtc-node-linux-x64-gnu": "0.9.1",
"@livekit/rtc-node-win32-x64-msvc": "0.9.1"
},

@@ -54,0 +54,0 @@ "engines": {

@@ -106,3 +106,4 @@ // SPDX-FileCopyrightText: 2024 LiveKit, Inc.

const elapsed = this.lastCapture === 0 ? 0 : now - this.lastCapture;
this.currentQueueSize += (frame.samplesPerChannel / frame.sampleRate - elapsed) * 1000;
const frameDurationMs = (frame.samplesPerChannel / frame.sampleRate) * 1000;
this.currentQueueSize += frameDurationMs - elapsed;

@@ -109,0 +110,0 @@ this.lastCapture = now;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc