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

Add RTCPeerConnection.reset() method to bypass O/previous A errors

上级 227a5115
...@@ -429,6 +429,17 @@ class RTCPeerConnectionCommon extends EventEmitter ...@@ -429,6 +429,17 @@ class RTCPeerConnectionCommon extends EventEmitter
} }
} }
reset()
{
this._logger.debug('reset()');
// Reset signalingState.
this._signalingState = 'stable';
// Unset busy flag.
this._busy = false;
}
_mayRenegotiate() _mayRenegotiate()
{ {
// If already scheduled, ignore. // If already scheduled, ignore.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论