提交 45db8870 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Expose the WebRTC 1.0 RTCPeerConnection API

Implement a subset of the WebRTC 1.0 API (RTCPeerConnection) as a wrapper over the ORTC based API.
上级 b891a3f9
......@@ -4,6 +4,7 @@ const logger = require('./logger')();
const Server = require('./Server');
const errors = require('./errors');
const extra = require('./extra');
const webrtc = require('./webrtc');
const PKG = require('../package.json');
......@@ -53,7 +54,12 @@ module.exports =
/**
* Export the extra module.
*/
extra: extra
extra: extra,
/**
* Export the webrtc module.
*/
webrtc: webrtc
};
// On process exit close all the Servers.
......
差异被折叠。
'use strict';
const RTCPeerConnection = require('./RTCPeerConnection');
module.exports =
{
RTCPeerConnection : RTCPeerConnection
};
{
"name": "mediasoup",
"version": "0.1.0-pre10",
"version": "0.1.0-pre11",
"description": "Powerful WebRTC SFU for Node.js",
"main": "lib/mediasoup.js",
"repository": {
......@@ -25,7 +25,8 @@
"debug": "^2.2.0",
"netstring": "^0.3.0",
"random-number": "0.0.7",
"random-string": "^0.1.2"
"random-string": "^0.1.2",
"sdp-transform": "^1.6.2"
},
"devDependencies": {
"gulp": "git://github.com/gulpjs/gulp.git#4.0",
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论