Skip to content

BeeInventor/node-webrtc

This branch is 55 commits ahead of koush/node-webrtc:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

191fba6 · Nov 1, 2023
May 17, 2020
Jun 7, 2021
Nov 10, 2021
Dec 3, 2019
Aug 30, 2020
Apr 30, 2019
Nov 7, 2021
Nov 1, 2023
Nov 7, 2021
Nov 7, 2021
Apr 30, 2019
May 5, 2019
Mar 26, 2019
Nov 8, 2018
Apr 30, 2019
Mar 13, 2018
Jul 19, 2020
Nov 1, 2023
Nov 1, 2023
Nov 1, 2023
Jan 22, 2019
Jan 11, 2019
Nov 21, 2020
Nov 2, 2018
Nov 21, 2020
Nov 1, 2023

Repository files navigation

    

NPM macOS/Linux Build Status Windows Build status

node-webrtc is a Node.js Native Addon that provides bindings to WebRTC M87. 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.

Linux macOS Windows
armv7l arm64 x64 x64 x64
Node 8
10
11
12
13
14
Electron 4
5

Examples

See node-webrtc/node-webrtc-examples.

Contributing

Contributions welcome! Please refer to the wiki.

Languages

  • C++ 62.8%
  • JavaScript 26.1%
  • CMake 7.2%
  • C 2.6%
  • Batchfile 0.7%
  • Shell 0.4%
  • Dockerfile 0.2%