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

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.0 to 3.0.1

2

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

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

@@ -83,4 +83,2 @@ var _ = require('underscore');

this._role = this.isInitiator ? 'initiator' : 'responder';
if (this.config.debug) {

@@ -123,2 +121,6 @@ this.on('*', function (eventName, event) {

PeerConnection.prototype._role = function () {
return this.isInitiator ? 'initiator' : 'responder';
};
// Add a stream to the peer connection object

@@ -235,3 +237,3 @@ PeerConnection.prototype.addStream = function (stream) {

jingle = SJJ.toSessionJSON(offer.sdp, {
role: self._role,
role: self._role(),
direction: 'outgoing'

@@ -321,3 +323,3 @@ });

sid: self.config.sdpSessionID,
role: self._role,
role: self._role(),
direction: 'incoming'

@@ -384,3 +386,3 @@ });

sid: self.config.sdpSessionID,
role: self._role,
role: self._role(),
direction: 'incoming'

@@ -429,3 +431,3 @@ });

answer.jingle = SJJ.toSessionJSON(answer.sdp, {
role: self._role,
role: self._role(),
direction: 'outgoing'

@@ -465,3 +467,3 @@ });

sid: self.config.sdpSessionID,
role: self._role,
role: self._role(),
direction: 'outgoing'

@@ -480,3 +482,3 @@ });

var jingle = SJJ.toSessionJSON(answer.sdp, {
role: self._role,
role: self._role(),
direction: 'outgoing'

@@ -494,3 +496,3 @@ });

expandedAnswer.jingle = SJJ.toSessionJSON(answer.sdp, {
role: self._role,
role: self._role(),
direction: 'outgoing'

@@ -512,3 +514,3 @@ });

sid: self.sdpSessionID,
role: self._role,
role: self._role(),
direction: 'outgoing'

@@ -556,4 +558,4 @@ });

var jingle = SJJ.toSessionJSON(self.pc.localDescription.sdp, {
role: self._role,
direction: 'incoming'
role: self._role(),
direction: 'outgoing'
});

@@ -573,3 +575,3 @@ _.each(jingle.contents, function (content) {

name: ice.sdpMid,
creator: self._role,
creator: self._role(),
transport: {

@@ -576,0 +578,0 @@ transType: 'iceUdp',

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