Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rtcpeerconnection

Package Overview
Dependencies
Maintainers
6
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rtcpeerconnection - npm Package Compare versions

Comparing version 8.2.0 to 8.3.0

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc