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

traceablepeerconnection

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

traceablepeerconnection - npm Package Compare versions

Comparing version 1.1.6 to 1.2.0

26

index.js

@@ -126,3 +126,5 @@ // based on https://github.com/ESTOS/strophe.jingle/

this.trace('setLocalDescription', dumpSDP(description));
this.peerconnection.setLocalDescription(description,
return this.peerconnection.setLocalDescription(
description
).then(
function () {

@@ -142,3 +144,5 @@ self.trace('setLocalDescriptionOnSuccess');

this.trace('setRemoteDescription', dumpSDP(description));
this.peerconnection.setRemoteDescription(description,
return this.peerconnection.setRemoteDescription(
description
).then(
function () {

@@ -165,3 +169,5 @@ self.trace('setRemoteDescriptionOnSuccess');

this.trace('createOffer', constraints);
this.peerconnection.createOffer(
return this.peerconnection.createOffer(
constraints
).then(
function (offer) {

@@ -174,4 +180,3 @@ self.trace('createOfferOnSuccess', dumpSDP(offer));

if (failureCallback) failureCallback(err);
},
constraints
}
);

@@ -183,3 +188,5 @@ };

this.trace('createAnswer', constraints);
this.peerconnection.createAnswer(
return this.peerconnection.createAnswer(
constraints
).then(
function (answer) {

@@ -192,4 +199,3 @@ self.trace('createAnswerOnSuccess', dumpSDP(answer));

if (failureCallback) failureCallback(err);
},
constraints
}
);

@@ -201,3 +207,5 @@ };

this.trace('addIceCandidate', candidate);
this.peerconnection.addIceCandidate(candidate,
return this.peerconnection.addIceCandidate(
candidate
).then(
function () {

@@ -204,0 +212,0 @@ //self.trace('addIceCandidateOnSuccess');

{
"name": "traceablepeerconnection",
"version": "1.1.6",
"version": "1.2.0",
"description": "Lowlevel RTCPeerConnection wrapper which allows tracing the API calls",

@@ -5,0 +5,0 @@ "main": "index.js",

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