traceablepeerconnection
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -136,3 +136,5 @@ // based on https://github.com/ESTOS/strophe.jingle/ | ||
} | ||
this.peerconnection.close(); | ||
if (this.peerconnection.signalingState != 'closed') { | ||
this.peerconnection.close(); | ||
} | ||
}; | ||
@@ -139,0 +141,0 @@ |
{ | ||
"name": "traceablepeerconnection", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Lowlevel RTCPeerConnection wrapper which allows tracing the API calls", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -137,3 +137,5 @@ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.PeerConnection=e():"undefined"!=typeof global?global.PeerConnection=e():"undefined"!=typeof self&&(self.PeerConnection=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
} | ||
this.peerconnection.close(); | ||
if (this.peerconnection.signalingState != 'closed') { | ||
this.peerconnection.close(); | ||
} | ||
}; | ||
@@ -140,0 +142,0 @@ |
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
42256
1181