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

WebRTC Plan-B: check RtpSender.available status

上级 9d92d6e2
......@@ -471,9 +471,14 @@ class RTCPeerConnectionPlanB extends RTCPeerConnectionCommon
for (let rtpSender of self._peer.rtpSenders)
{
// Just the same kind.
if (rtpSender.kind !== kind)
continue;
// Just if available.
if (!rtpSender.available)
continue;
for (let encoding of rtpSender.rtpParameters.encodings)
{
objMedia.ssrcs.push(
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论