rtcpeerconnection
Advanced tools
Comparing version 8.0.0 to 8.0.1
{ | ||
"name": "rtcpeerconnection", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.", | ||
@@ -5,0 +5,0 @@ "main": "rtcpeerconnection.js", |
@@ -120,3 +120,10 @@ var util = require('util'); | ||
this.getRemoteStreams = this.pc.getRemoteStreams.bind(this.pc); | ||
if (typeof this.pc.getRemoteStreams === 'function') { | ||
this.getRemoteStreams = this.pc.getRemoteStreams.bind(this.pc); | ||
} else { | ||
this.getRemoteStreams = function () { | ||
return []; | ||
}; | ||
} | ||
this.addStream = this.pc.addStream.bind(this.pc); | ||
@@ -123,0 +130,0 @@ |
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
189152
5270