W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2019

Re: [webrtc-pc] iceConnectionState, selectedCandidatePair and races in Chrome Canary (#2088)

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Tue, 29 Jan 2019 14:25:47 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-458558625-1548771946-sysbot+gh@w3.org>
Media packets can only flow once DTLS is connected (you don't have keys for encryption/decryption otherwise) so 
```
    await onIceConnectionStateCompleted(caller);
```
should wait for the connectionState, not for iceConnectionState.

-- 
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2088#issuecomment-458558625 using your GitHub account
Received on Tuesday, 29 January 2019 14:25:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:54 UTC