rtcpeerconnection
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "rtcpeerconnection", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.", | ||
@@ -5,0 +5,0 @@ "main": "rtcpeerconnection.js", |
@@ -67,10 +67,13 @@ var _ = require('underscore'); | ||
if (PeerConnection.prototype.__defineGetter__) { | ||
PeerConnection.prototype.__defineGetter__('signalingState', function () { | ||
Object.defineProperty(PeerConnection.prototype, 'signalingState', { | ||
get: function () { | ||
return this.pc.signalingState; | ||
}); | ||
PeerConnection.prototype.__defineGetter__('iceConnectionState', function () { | ||
} | ||
}); | ||
Object.defineProperty(PeerConnection.prototype, 'iceConnectionState', { | ||
get: function () { | ||
console.log('get', this.pc.iceConnectionState); | ||
return this.pc.iceConnectionState; | ||
}); | ||
} | ||
} | ||
}); | ||
@@ -77,0 +80,0 @@ // Add a stream to the peer connection object |
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
135279
3638