Re: [webrtc-pc] API to access certificate of remote side

Arguably, this is too late for identity purposes. 
To get a  RTCDtlsTransport you have to have either an  RTCRtpReceiver or an RTCSctpTransport 
To do that you have to have _accepted_ a media track or a DataChannel.
Ideally you want an boolean accept(Certificate) callback on the PeerConnection so you can refuse DTLS setup for certs that don't meet your criteria.

-- 
GitHub Notification of comment by steely-glint
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1234#issuecomment-303696117 using your GitHub account

Received on Wednesday, 24 May 2017 11:24:50 UTC