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

webrtc-native

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webrtc-native

WebRTC for NodeJS

  • 1.2.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
Maintainers
1
Weekly downloads
 
Created
Source

WebRTC for NodeJS

Chromium

webrtc-native is using WebRTC from chromium project. code is compiled with branch master.

Install

npm install webrtc-native --save

Compatibility x64

NodeJS / Io.JSWindows 8.1OSXUbuntu 14.04
IoJS-v2.3.2Old ReleasexOld Release
IoJS-v3.3.1Old ReleasexOld Release
NodeJS-v0.10.38Old ReleasexOld Release
NodeJS-v0.12.5Old ReleasexOld Release
NodeJS-v4.2.1-x-
NodeJS-v4.3.2-x-
NodeJS-v4.4.0-x-
NodeJS-v5.0.0-x-
NodeJS-v5.1.1-x-
NodeJS-v5.2.0-x-
NodeJS-v5.3.0-x-
NodeJS-v5.4.1-x-
NodeJS-v5.5.0-x-
NodeJS-v5.6.0-x-
NodeJS-v5.7.1-x-
NodeJS-v5.8.0-x-
FeaturesWindows 8.1OSXUbuntu 14.04
Audio CaptureUntestedxUntested
Camera CaptureUntested-Untested
Dtls-Srtp DataChannelsUntestedxUntested
RTP DataChannelsUntestedxUntested
Video StreamingUntested-Untested
Audio StreamingUntestedxUntested
Video Recording from MediaStreamUnimplementedUnimplementedUnimplemented
Audio Recording from MediaStreamUnimplementedUnimplementedUnimplemented

API

Usage

var WebRTC = require('webrtc-native');
WebRTC.RTCPeerConnection
WebRTC.RTCIceCandidate
WebRTC.RTCSessionDescription
WebRTC.RTCDataChannel
WebRTC.MediaStream
WebRTC.MediaStreamTrack
WebRTC.getUserMedia
WebRTC.getSources
  • Returns array of available device inputs
WebRTC.RTCGarbageCollect()
  • Notify V8 Engine to attempt to free memory.
WebRTC.setDebug(boolean)
  • Enable / Disable WebRTC log messages

Build from source

git clone https://github.com/vmolsa/webrtc-native
cd webrtc-native
export BUILD_WEBRTC=true
npm install

Prerequisite software

Windows

You must build with Visual Studio 2013 Update 4, no other versions are supported.
You must have Windows 7 x64 or later. x86 OSs are unsupported.
You must run "npm install" with administrator privileges.

OS X

XCode 3.0 or higher

Ubuntu 14.04 LTS

sudo apt-get install --yes build-essential python2.7 git pkg-config libnss3-dev libasound2-dev libpulse-dev libjpeg62-dev libxv-dev libgtk2.0-dev libexpat1-dev default-jdk libxtst-dev libxss-dev libpci-dev libgconf2-dev libgnome-keyring-dev libudev-dev

Fedora 22

sudo dnf update -y
sudo dnf groupinstall -y "Development tools"
sudo dnf install -y git gcc-c++ nss-devel SAASound-devel alsa-lib-devel systemd-devel pulseaudio-libs-devel turbojpeg-devel libXv-devel gtk+-devel expat-devel java-1.8.0-openjdk-devel gtk2-devel libXtst-devel libXScrnSaver-devel redhat-lsb pciutils-devel dbus-devel pkgconfig GConf2-devel libgnome-keyring-devel

Keywords

FAQs

Package last updated on 13 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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