rtcpeerconnection
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "rtcpeerconnection", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.", | ||
@@ -5,0 +5,0 @@ "main": "rtcpeerconnection.js", |
@@ -166,3 +166,3 @@ var _ = require('underscore'); | ||
// spec not do this? | ||
if (this.pc.signalingState === 'closed') return; | ||
if (this.pc.signalingState === 'closed') return cb(); | ||
@@ -228,2 +228,4 @@ if (update.contents) { | ||
if (this.pc.signalingState === 'closed') return cb('Already closed'); | ||
// Actually generate the offer | ||
@@ -425,2 +427,5 @@ this.pc.createOffer( | ||
} | ||
if (this.pc.signalingState === 'closed') return cb('Already closed'); | ||
self.pc.createAnswer( | ||
@@ -427,0 +432,0 @@ function (answer) { |
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
164670
10
4376