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

WebRTC API: add a=end-of-candidates to make Edge happy (thanks to Gustavo García)

上级 50c9491b
......@@ -325,6 +325,8 @@ class RTCPeerConnectionPlanB extends RTCPeerConnectionCommon
objMedia.candidates.push(objCandidate);
}
objMedia.endOfCandidates = 'end-of-candidates';
// DTLS.
// If 'offer' always use 'actpass'.
if (type === 'offer')
......
......@@ -167,6 +167,8 @@ class RTCRtpTransceiver
objMedia.candidates.push(objCandidate);
}
objMedia.endOfCandidates = 'end-of-candidates';
}
// DTLS.
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论