traceablepeerconnection
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -48,3 +48,3 @@ // based on https://github.com/ESTOS/strophe.jingle/ | ||
this.peerconnection.onsignalingstatechange = function (event) { | ||
self.trace('onsignalingstatechange', event.srcElement.signalingState); | ||
self.trace('onsignalingstatechange', self.signalingState); | ||
if (self.onsignalingstatechange !== null) { | ||
@@ -56,3 +56,3 @@ self.onsignalingstatechange(event); | ||
this.peerconnection.oniceconnectionstatechange = function (event) { | ||
self.trace('oniceconnectionstatechange', event.srcElement.iceConnectionState); | ||
self.trace('oniceconnectionstatechange', self.iceConnectionState); | ||
if (self.oniceconnectionstatechange !== null) { | ||
@@ -59,0 +59,0 @@ self.oniceconnectionstatechange(event); |
{ | ||
"name": "traceablepeerconnection", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Lowlevel RTCPeerConnection wrapper which allows tracing the API calls", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -49,3 +49,3 @@ !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.onsignalingstatechange = function (event) { | ||
self.trace('onsignalingstatechange', event.srcElement.signalingState); | ||
self.trace('onsignalingstatechange', self.signalingState); | ||
if (self.onsignalingstatechange !== null) { | ||
@@ -57,3 +57,3 @@ self.onsignalingstatechange(event); | ||
this.peerconnection.oniceconnectionstatechange = function (event) { | ||
self.trace('oniceconnectionstatechange', event.srcElement.iceConnectionState); | ||
self.trace('oniceconnectionstatechange', self.iceConnectionState); | ||
if (self.oniceconnectionstatechange !== null) { | ||
@@ -60,0 +60,0 @@ self.oniceconnectionstatechange(event); |
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
42106