Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webrtc

Package Overview
Dependencies
Maintainers
3
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

2

package.json
{
"name": "webrtc",
"version": "1.5.0",
"version": "1.6.0",
"keywords": [

@@ -5,0 +5,0 @@ "webrtc",

@@ -158,16 +158,16 @@ var webrtc = require('webrtcsupport');

audio.on('speaking', function () {
self.emit('speaking');
if (self.hardMuted) return;
self.setMicIfEnabled(1);
self.sendToAll('speaking', {});
self.emit('speaking');
});
audio.on('stopped_speaking', function () {
if (self.hardMuted) return;
if (timeout) clearTimeout(timeout);
timeout = setTimeout(function () {
self.emit('stoppedSpeaking');
if (self.hardMuted) return;
self.setMicIfEnabled(0.5);
self.sendToAll('stopped_speaking', {});
self.emit('stoppedSpeaking');
}, 1000);

@@ -178,4 +178,4 @@ });

audio.on('volume_change', function (volume, treshold) {
self.emit('volumeChange', volume, treshold);
if (self.hardMuted) return;
self.emit('volumeChange', volume, treshold);
// FIXME: should use sendDirectlyToAll, but currently has different semantics wrt payload

@@ -182,0 +182,0 @@ self.peers.forEach(function (peer) {

Sorry, the diff of this file is too big to display

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