提交 402f858a authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

RtpSender.js: emit `transport` event once `setTransport()` is called

上级 2073bc0f
...@@ -172,6 +172,8 @@ class RtpSender extends EventEmitter ...@@ -172,6 +172,8 @@ class RtpSender extends EventEmitter
this._data.transport = transport; this._data.transport = transport;
this.emit('transport');
return this; return this;
}) })
.catch((error) => .catch((error) =>
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论