提交 2fb95ec5 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Merge branch 'v3' into consumer-mid

# Changelog # Changelog
### 3.5.1
* `PlainTransport`: Fix event name: 'rtcpTuple' => 'rtcptuple'.
### 3.5.0 ### 3.5.0
* `PipeTransport`: Add support for SRTP and RTP retransmission (RTX + NACK). Useful when connecting two mediasoup servers running in different hosts via pipe transports. * `PipeTransport`: Add support for SRTP and RTP retransmission (RTX + NACK). Useful when connecting two mediasoup servers running in different hosts via pipe transports.
......
...@@ -151,9 +151,9 @@ class PlainTransport extends Transport_1.Transport { ...@@ -151,9 +151,9 @@ class PlainTransport extends Transport_1.Transport {
{ {
const rtcpTuple = data.rtcpTuple; const rtcpTuple = data.rtcpTuple;
this._data.rtcpTuple = rtcpTuple; this._data.rtcpTuple = rtcpTuple;
this.safeEmit('rtcpTuple', rtcpTuple); this.safeEmit('rtcptuple', rtcpTuple);
// Emit observer event. // Emit observer event.
this._observer.safeEmit('rtcpTuple', rtcpTuple); this._observer.safeEmit('rtcptuple', rtcpTuple);
break; break;
} }
case 'sctpstatechange': case 'sctpstatechange':
......
...@@ -73,7 +73,7 @@ class Worker extends EnhancedEventEmitter_1.EnhancedEventEmitter { ...@@ -73,7 +73,7 @@ class Worker extends EnhancedEventEmitter_1.EnhancedEventEmitter {
// options // options
{ {
env: { env: {
MEDIASOUP_VERSION: '3.5.0' MEDIASOUP_VERSION: '3.5.1'
}, },
detached: false, detached: false,
// fd 0 (stdin) : Just ignore it. // fd 0 (stdin) : Just ignore it.
......
...@@ -17,7 +17,7 @@ exports.types = types; ...@@ -17,7 +17,7 @@ exports.types = types;
/** /**
* Expose mediasoup version. * Expose mediasoup version.
*/ */
exports.version = '3.5.0'; exports.version = '3.5.1';
/** /**
* Expose parseScalabilityMode() function. * Expose parseScalabilityMode() function.
*/ */
......
{ {
"name": "mediasoup", "name": "mediasoup",
"version": "3.5.0", "version": "3.5.1",
"description": "Cutting Edge WebRTC Video Conferencing", "description": "Cutting Edge WebRTC Video Conferencing",
"contributors": [ "contributors": [
"Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)", "Iñaki Baz Castillo <ibc@aliax.net> (https://inakibaz.me)",
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
"netstring": "^0.3.0", "netstring": "^0.3.0",
"random-number": "^0.0.9", "random-number": "^0.0.9",
"supports-color": "^7.1.0", "supports-color": "^7.1.0",
"uuid": "^7.0.1" "uuid": "^7.0.2"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^13.7.7", "@types/node": "^13.7.7",
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"@types/uuid": "^7.0.0", "@types/uuid": "^7.0.0",
"@typescript-eslint/eslint-plugin": "^2.22.0", "@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0", "@typescript-eslint/parser": "^2.22.0",
"cross-env": "^7.0.0", "cross-env": "^7.0.1",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-plugin-jest": "^23.8.1", "eslint-plugin-jest": "^23.8.1",
"gulp": "^4.0.2", "gulp": "^4.0.2",
......
...@@ -342,10 +342,10 @@ export class PlainTransport extends Transport ...@@ -342,10 +342,10 @@ export class PlainTransport extends Transport
this._data.rtcpTuple = rtcpTuple; this._data.rtcpTuple = rtcpTuple;
this.safeEmit('rtcpTuple', rtcpTuple); this.safeEmit('rtcptuple', rtcpTuple);
// Emit observer event. // Emit observer event.
this._observer.safeEmit('rtcpTuple', rtcpTuple); this._observer.safeEmit('rtcptuple', rtcpTuple);
break; break;
} }
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论