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

rtcpeerconnection

Package Overview
Dependencies
Maintainers
5
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rtcpeerconnection - npm Package Compare versions

Comparing version 5.2.1 to 6.0.0

3

package.json
{
"name": "rtcpeerconnection",
"version": "5.2.1",
"version": "6.0.0",
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.",

@@ -21,3 +21,2 @@ "main": "rtcpeerconnection.js",

"sdp-jingle-json": "^3.0.0",
"traceablepeerconnection": "^1.1.6",
"webrtc-adapter": "^2.0.2",

@@ -24,0 +23,0 @@ "wildemitter": "1.x"

var util = require('util');
var SJJ = require('sdp-jingle-json');
var WildEmitter = require('wildemitter');
var Peerconn = require('traceablepeerconnection');
var adapter = require('webrtc-adapter');

@@ -116,3 +115,3 @@ var cloneDeep = require('lodash.clonedeep');

this.pc = new Peerconn(config, constraints);
this.pc = new RTCPeerConnection(config, constraints);

@@ -124,7 +123,2 @@ this.getLocalStreams = this.pc.getLocalStreams.bind(this.pc);

// proxy events
this.pc.on('*', function () {
self.emit.apply(self, arguments);
});
// proxy some events directly

@@ -131,0 +125,0 @@ this.pc.onremovestream = this.emit.bind(this, 'removeStream');

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