rtcpeerconnection
Advanced tools
Comparing version 8.2.0 to 8.3.0
{ | ||
"name": "rtcpeerconnection", | ||
"version": "8.2.0", | ||
"version": "8.3.0", | ||
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.", | ||
@@ -5,0 +5,0 @@ "main": "rtcpeerconnection.js", |
@@ -102,7 +102,6 @@ # RTCPeerConnection | ||
// when creating an offer. | ||
pc.offer({ | ||
mandatory: { | ||
OfferToReceiveAudio: true, | ||
OfferToReceiveVideo: false | ||
} | ||
pc.offer( | ||
{ | ||
offerToReceiveAudio: true, | ||
offerToReceiveVideo: false | ||
}, | ||
@@ -109,0 +108,0 @@ function (err, offer) { |
@@ -164,2 +164,3 @@ var util = require('util'); | ||
this.pc.onaddstream = this.emit.bind(this, 'addStream'); | ||
this.pc.onaddtrack = this.emit.bind(this, 'addTrack'); | ||
this.pc.onnegotiationneeded = this.emit.bind(this, 'negotiationNeeded'); | ||
@@ -166,0 +167,0 @@ this.pc.oniceconnectionstatechange = this.emit.bind(this, 'iceConnectionStateChange'); |
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
190019
5301
179