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