rtcpeerconnection
Advanced tools
Comparing version 5.2.1 to 6.0.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
7
277575
7542
- Removedtraceablepeerconnection@^1.1.6
- Removedtraceablepeerconnection@1.2.0(transitive)
- Removedwebrtc-adapter@1.4.0(transitive)