Socket
Socket
Sign inDemoInstall

rtcpeerconnection

Package Overview
Dependencies
Maintainers
4
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 3.0.11 to 3.0.12

11

package.json
{
"name": "rtcpeerconnection",
"version": "3.0.11",
"version": "3.0.12",
"description": "A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.",

@@ -19,7 +19,8 @@ "main": "rtcpeerconnection.js",

"dependencies": {
"wildemitter": "1.x",
"lodash.foreach": "^3.0.2",
"lodash.pluck": "^3.0.2",
"sdp-jingle-json": "2.x",
"traceablepeerconnection": "^1.0.0",
"webrtcsupport": "^1.0.0",
"traceablepeerconnection": "^1.0.0",
"sdp-jingle-json": "2.x",
"underscore": "1.x"
"wildemitter": "1.x"
},

@@ -26,0 +27,0 @@ "devDependencies": {

@@ -6,3 +6,3 @@ # RTCPeerConnection

A tiny browser module that gives normalizes and simplifies the API for WebRTC peer connections.
A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.

@@ -9,0 +9,0 @@ It gives us a cleaner (cross-browser) way to handle offer/answer and is based on an event emitter.

@@ -1,3 +0,4 @@

var _ = require('underscore');
var util = require('util');
var each = require('lodash.foreach');
var pluck = require('lodash.pluck');
var webrtc = require('webrtcsupport');

@@ -8,2 +9,3 @@ var SJJ = require('sdp-jingle-json');

function PeerConnection(config, constraints) {

@@ -98,3 +100,3 @@ var self = this;

// proxy events
// proxy events
this.pc.on('*', function () {

@@ -153,3 +155,3 @@ self.emit.apply(self, arguments);

// can be removed once the following bugs have been fixed
// https://crbug.com/405545
// https://crbug.com/405545
// https://bugzilla.mozilla.org/show_bug.cgi?id=964092

@@ -223,3 +225,3 @@ // to be filed for opera

if (update.contents || (update.jingle && update.jingle.contents)) {
var contentNames = _.pluck(this.remoteDescription.contents, 'name');
var contentNames = pluck(this.remoteDescription.contents, 'name');
var contents = update.contents || update.jingle.contents;

@@ -317,3 +319,3 @@

// Save ICE credentials
_.each(jingle.contents, function (content) {
each(jingle.contents, function (content) {
var transport = content.transport || {};

@@ -399,3 +401,3 @@ if (transport.ufrag) {

if (!hasBw) {
offer.jingle.contents[1].description.bandwidth = { type:'AS', bandwidth: self.restrictBandwidth.toString() };
offer.jingle.contents[1].description.bandwidth = { type: 'AS', bandwidth: self.restrictBandwidth.toString() };
offer.sdp = SJJ.toSessionSDP(offer.jingle, {

@@ -598,3 +600,3 @@ sid: self.config.sdpSessionID,

if (self.enableChromeNativeSimulcast) {
// native simulcast part 2:
// native simulcast part 2:
// signal multiple tracks to the receiver

@@ -674,3 +676,3 @@ // for anything in the SIM group

});
_.each(jingle.contents, function (content) {
each(jingle.contents, function (content) {
var transport = content.transport || {};

@@ -708,3 +710,3 @@ if (transport.ufrag) {

});
var newCand = {
var newCand = {
jingle: {

@@ -711,0 +713,0 @@ contents: []

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