wrtc

Standards-compliant WebRTC implementation for Node

  • wrtc

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
wrtc
2,6821370.4.73 years ago11 years agoMinified + gzip package size for wrtc in KB

Readme

    

NPM macOS/Linux Build Status Windows Build status
node-webrtc is a Node.js Native Addon that provides bindings to WebRTC M81. This project aims for spec-compliance and is tested using the W3C's web-platform-tests project. A number of nonstandard APIs for testing are also included.

Install

npm install wrtc

Installing from NPM downloads a prebuilt binary for your operating system × architecture. Set the TARGET_ARCH environment variable to "arm" or "arm64" to download for armv7l or arm64, respectively. Linux and macOS users can also set the DEBUG environment variable to download debug builds.
You can also build from source.

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, 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.
<tr>
  <td colspan="2" rowspan="2"></td>
  <th colspan="3">Linux</th>
  <th>macOS</th>
  <th>Windows</th>
</tr>
<tr>
  <th>armv7l</th>
  <th>arm64</th>
  <th>x64</th>
  <th>x64</th>
  <th>x64</th>
</tr>
<tr>
  <th rowspan="6">Node</th>
  <th>8</th>
    <td align="center">✓</td>
    <td align="center">✓</td>
    <td align="center">✓</td>
  <td align="center">✓</td>
  <td align="center">✓</td>
</tr>
<tr>
  <th>10</th>
    <td align="center">✓</td>
    <td align="center">✓</td>
    <td align="center">✓</td>
  <td align="center">✓</td>
  <td align="center">✓</td>
</tr>
<tr>
  <th>11</th>
    <td align="center">✓</td>
    <td align="center">✓</td>
    <td align="center">✓</td>
  <td align="center">✓</td>
  <td align="center">✓</td>
</tr>
<tr>
  <th>12</th>
    <td align="center">✓</td>
    <td align="center">✓</td>
    <td align="center">✓</td>
  <td align="center">✓</td>
  <td align="center">✓</td>
</tr>
<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>14</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>
  <th>4</th>
    <td align="center"></td>
    <td align="center"></td>
    <td align="center">✓</td>
  <td align="center">✓</td>
  <td align="center">✓</td>
</tr>
<tr>
  <th>5</th>
    <td align="center"></td>
    <td align="center"></td>
    <td align="center">✓</td>
  <td align="center">✓</td>
  <td align="center">✓</td>
</tr>

Examples

See node-webrtc/node-webrtc-examples.

Contributing

Contributions welcome! Please refer to the wiki.