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

SDP: Add a=rtcp-rsize

上级 76b62b16
......@@ -515,6 +515,9 @@ class RTCPeerConnectionPlanB extends RTCPeerConnectionCommon
// a=rtcp-mux attribute.
objMedia.rtcpMux = 'rtcp-mux';
// a=rtcp-rsize
objMedia.rtcpRsize = 'rtcp-rsize';
// Bandwidth.
if (self._options.bandwidth && self._options.bandwidth[kind])
{
......
......@@ -318,9 +318,12 @@ class RTCRtpTransceiver
}
}
// a=rtcp-mux attribute.
// a=rtcp-mux and a=rtcp-rsize attributes.
if (!closed)
{
objMedia.rtcpMux = 'rtcp-mux';
objMedia.rtcpRsize = 'rtcp-rsize';
}
// Bandwidth.
if (!closed && this._options.bandwidth && this._options.bandwidth[this._kind])
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论