Socket
Socket
Sign inDemoInstall

wrtc

Package Overview
Dependencies
69
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.4.3

lib/rtcpeerconnectioniceerrorevent.js

1

lib/index.js

@@ -73,2 +73,3 @@ 'use strict';

RTCRtpTransceiver,
RTCSctpTransport,
RTCSessionDescription: require('./sessiondescription'),

@@ -75,0 +76,0 @@ getUserMedia,

@@ -12,2 +12,3 @@ 'use strict';

var RTCPeerConnectionIceEvent = require('./rtcpeerconnectioniceevent');
var RTCPeerConnectionIceErrorEvent = require('./rtcpeerconnectioniceerrorevent');
var RTCSessionDescription = require('./sessiondescription');

@@ -43,2 +44,10 @@

pc.onicecandidateerror = function onicecandidateerror(eventInitDict) {
var pair = eventInitDict.hostCandidate.split(':');
eventInitDict.address = pair[0];
eventInitDict.port = pair[1];
var icecandidateerror = new RTCPeerConnectionIceErrorEvent('icecandidateerror', eventInitDict);
self.dispatchEvent(icecandidateerror);
};
pc.onsignalingstatechange = function onsignalingstatechange() {

@@ -282,2 +291,6 @@ self.dispatchEvent({ type: 'signalingstatechange' });

RTCPeerConnection.prototype.restartIce = function restartIce() {
return this._pc.restartIce();
};
module.exports = RTCPeerConnection;

4

package.json

@@ -15,3 +15,3 @@ {

],
"version": "0.4.2",
"version": "0.4.3",
"author": "Alan K <ack@modeswitch.org> (http://blog.modeswitch.org)",

@@ -35,3 +35,3 @@ "homepage": "https://github.com/node-webrtc/node-webrtc",

"engines": {
"node": "^8.11.2 || ^10.0.0 || ^11.0.0 || ^12.0.0"
"node": "^8.11.2 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0"
},

@@ -38,0 +38,0 @@ "optionalDependencies": {

@@ -8,3 +8,3 @@ <h1 align="center">

node-webrtc is a Node.js Native Addon that provides bindings to [WebRTC M74](https://chromium.googlesource.com/external/webrtc/+/branch-heads/m74). This project aims for spec-compliance and is tested using the W3C's [web-platform-tests](https://github.com/web-platform-tests/wpt) project. A number of [nonstandard APIs](https://github.com/node-webrtc/node-webrtc/blob/v0.4.2/docs/nonstandard-apis.md) for testing are also included.
node-webrtc is a Node.js Native Addon that provides bindings to [WebRTC M79](https://chromium.googlesource.com/external/webrtc/+/branch-heads/m79). This project aims for spec-compliance and is tested using the W3C's [web-platform-tests](https://github.com/web-platform-tests/wpt) project. A number of [nonstandard APIs](https://github.com/node-webrtc/node-webrtc/blob/v0.4.3/docs/nonstandard-apis.md) for testing are also included.

@@ -20,3 +20,3 @@ Install

You can also [build from source](https://github.com/node-webrtc/node-webrtc/blob/v0.4.2/docs/build-from-source.md).
You can also [build from source](https://github.com/node-webrtc/node-webrtc/blob/v0.4.3/docs/build-from-source.md).

@@ -26,3 +26,3 @@ Supported Platforms

The following platforms are confirmed to work with node-webrtc and have prebuilt binaries available. Since node-webrtc targets [N-API version 3](https://nodejs.org/api/n-api.html), there may be additional platforms supported that are not listed here. If your platform is not supported, you may still be able to [build from source](https://github.com/node-webrtc/node-webrtc/blob/v0.4.2/docs/build-from-source.md).
The following platforms are confirmed to work with node-webrtc and have prebuilt binaries available. Since node-webrtc targets [N-API version 3](https://nodejs.org/api/n-api.html), there may be additional platforms supported that are not listed here. If your platform is not supported, you may still be able to [build from source](https://github.com/node-webrtc/node-webrtc/blob/v0.4.3/docs/build-from-source.md).

@@ -47,3 +47,3 @@ <table>

<tr>
<th rowspan="4">Node</th>
<th rowspan="5">Node</th>
<th>8</th>

@@ -81,2 +81,10 @@ <td align="center">✓</td>

<tr>
<th>13</th>
<td align="center">✓</td>
<td align="center">✓</td>
<td align="center">✓</td>
<td align="center">✓</td>
<td align="center">✓</td>
</tr>
<tr>
<th rowspan="2">Electron</th>

@@ -83,0 +91,0 @@ <th>4</th>

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc