Deprecate GetRemoteAudioSSLCertificate

This CL adds the RTC_DEPRECATED markers.

Bug: webrtc:12054
Change-Id: Id7d0b49caa39d64f3e768922293230e50a2a8f08
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/188821
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32424}
This commit is contained in:
Harald Alvestrand 2020-10-16 15:01:05 +00:00 committed by Commit Bot
parent 9cee07983f
commit 88329b9266

View File

@ -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<rtc::SSLCertificate> GetRemoteAudioSSLCertificate();
RTC_DEPRECATED std::unique_ptr<rtc::SSLCertificate>
GetRemoteAudioSSLCertificate();
// Version of the above method that returns the full certificate chain.
std::unique_ptr<rtc::SSLCertChain> GetRemoteAudioSSLCertChain();
RTC_DEPRECATED std::unique_ptr<rtc::SSLCertChain>
GetRemoteAudioSSLCertChain();
rtc::scoped_refptr<RtpSenderInterface> CreateSender(
const std::string& kind,