diff --git a/pc/peer_connection.h b/pc/peer_connection.h index 8a2be2822f..9949fcb8f0 100644 --- a/pc/peer_connection.h +++ b/pc/peer_connection.h @@ -107,13 +107,15 @@ class PeerConnection : public PeerConnectionInternal, // remote side. This will become populated once the DTLS connection with the // peer has been completed, as indicated by the ICE connection state // transitioning to kIceConnectionCompleted. - // Note that this will be removed once we implement RTCDtlsTransport which - // has standardized method for getting this information. + // Deprecated - users should insted query the DTLS transpport for this info. // See https://www.w3.org/TR/webrtc/#rtcdtlstransport-interface - std::unique_ptr GetRemoteAudioSSLCertificate(); + + RTC_DEPRECATED std::unique_ptr + GetRemoteAudioSSLCertificate(); // Version of the above method that returns the full certificate chain. - std::unique_ptr GetRemoteAudioSSLCertChain(); + RTC_DEPRECATED std::unique_ptr + GetRemoteAudioSSLCertChain(); rtc::scoped_refptr CreateSender( const std::string& kind,