Skip to content

eface2face/rtcninja-fake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtcninja-fake

Fake Node WebRTC plugin for rtcninja.

This module implements the WebRTC API for usage within Node/io.js. This is a fake module: nor media streams nor DataChannel are implemented, but just a fake RTCPeerConnection class that generated a spoofed local SDP description with no media sections.

rtcninja-fake is just useful for testing WebRTC related libraries when no media is required.

Installation

  • With npm:
$ npm install --save rtcninja-fake

Usage

var rtcninja = require('rtcninja');
var rtcninjaFake = require('rtcninja-fake');

// Load rtcninja with the rtcninja-fake plugin.
rtcninja({plugin: rtcninjaFake});

console.log(rtcninja.hasWebRTC());
// => true

Author

Iñaki Baz Castillo at eFace2Face.

License

ISC.

About

Fake Node WebRTC plugin for rtcninja

Resources

License

Stars

Watchers

Forks

Packages

No packages published