rtcpeerconnection
Version:
A tiny browser module that normalizes and simplifies the API for WebRTC peer connections.
13 lines (10 loc) • 310 B
JavaScript
var bundle = require('browserify')({
standalone: 'PeerConnection'
});
var fs = require('fs');
bundle.add('./rtcpeerconnection');
bundle.transform("babelify", {
global: true,
ignore: /\/node_modules\/(?!webrtc-adapter\/)/
});
bundle.bundle().pipe(fs.createWriteStream('rtcpeerconnection.bundle.js'));