rtcpeerconnection
Advanced tools
Comparing version 8.0.1 to 8.1.0
{ | ||
"name": "rtcpeerconnection", | ||
"version": "8.0.1", | ||
"version": "8.1.0", | ||
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.", | ||
@@ -31,4 +31,4 @@ "main": "rtcpeerconnection.js", | ||
"testling": "^1.7.1", | ||
"travis-multirunner": "^3.0.0", | ||
"webrtc-adapter": "^3.4.3" | ||
"travis-multirunner": "^3.3.0", | ||
"webrtc-adapter": "^6.0.2" | ||
}, | ||
@@ -35,0 +35,0 @@ "scripts": { |
@@ -119,2 +119,10 @@ var util = require('util'); | ||
} | ||
if (typeof this.pc.getSenders === 'function') { | ||
this.getSenders = this.pc.getSenders.bind(this.pc); | ||
} else { | ||
this.getSenders = function () { | ||
return []; | ||
}; | ||
} | ||
@@ -129,2 +137,10 @@ if (typeof this.pc.getRemoteStreams === 'function') { | ||
if (typeof this.pc.getReceivers === 'function') { | ||
this.getReceivers = this.pc.getReceivers.bind(this.pc); | ||
} else { | ||
this.getReceivers = function () { | ||
return []; | ||
}; | ||
} | ||
this.addStream = this.pc.addStream.bind(this.pc); | ||
@@ -131,0 +147,0 @@ |
Sorry, the diff of this file is not supported yet
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
189906
5298
14