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

SDP: fix TCP ICE candidate line (add missing 'tcptype')

上级 97c8f8d5
......@@ -302,7 +302,7 @@ class RTCPeerConnectionPlanB extends RTCPeerConnectionCommon
objCandidate.transport = candidate.protocol;
objCandidate.type = candidate.type;
if (candidate.tcpType)
objCandidate.tcpType = candidate.tcpType;
objCandidate.tcptype = candidate.tcpType;
objMedia.candidates.push(objCandidate);
}
......
......@@ -163,7 +163,7 @@ class RTCRtpTransceiver
objCandidate.transport = candidate.protocol;
objCandidate.type = candidate.type;
if (candidate.tcpType)
objCandidate.tcpType = candidate.tcpType;
objCandidate.tcptype = candidate.tcpType;
objMedia.candidates.push(objCandidate);
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论