rtcpeerconnection
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "rtcpeerconnection", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.", | ||
@@ -34,3 +34,3 @@ "main": "rtcpeerconnection.js", | ||
"ie/10..latest", | ||
"chrome/33..latest", | ||
"chrome/32..latest", | ||
"firefox/24..latest", | ||
@@ -37,0 +37,0 @@ "safari/latest", |
@@ -12,4 +12,2 @@ # RTCPeerConnection | ||
It also applies the SDP hack for lifting data transfer speed limits imposed by chrome by default. It modifies the "AS" or application specific maximum bandwidth setting from 30 kilobits / sec to 100 Mbps. This is really handy for file transfers, etc. It can be disabled by passing `{sdpHack: false}` as part of your config as passed in the first argument. | ||
## Installing | ||
@@ -35,3 +33,2 @@ | ||
// also takes a couple other options: | ||
// sdpHack: false (to not use the SDP hack as described above) | ||
// debug: true (to log out all emitted events) | ||
@@ -38,0 +35,0 @@ var pc = new PeerConnection({config servers as usual}, {constraints as to regular PC}); |
@@ -67,8 +67,10 @@ var _ = require('underscore'); | ||
PeerConnection.prototype.__defineGetter__('signalingState', function () { | ||
return this.pc.signalingState; | ||
}); | ||
PeerConnection.prototype.__defineGetter__('iceConnectionState', function () { | ||
return this.pc.iceConnectionState; | ||
}); | ||
if (PeerConnection.prototype.__defineGetter__) { | ||
PeerConnection.prototype.__defineGetter__('signalingState', function () { | ||
return this.pc.signalingState; | ||
}); | ||
PeerConnection.prototype.__defineGetter__('iceConnectionState', function () { | ||
return this.pc.iceConnectionState; | ||
}); | ||
} | ||
@@ -75,0 +77,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
3494
130994
180