openvidu-browser: minor comment to match same in android & kurento

pull/669/head
Juan Navarro 2021-11-05 15:50:13 +01:00
parent ddaf34a475
commit aba3311076
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ export class WebRtcPeer {
this.pc.addEventListener('signalingstatechange', () => {
if (this.pc.signalingState === 'stable') {
// SDP Offer/Answer finished. Add stored remote candidates.
while (this.iceCandidateList.length > 0) {
let candidate = this.iceCandidateList.shift();
this.pc.addIceCandidate(<RTCIceCandidate>candidate);