summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/pc/srtp_transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/pc/srtp_transport.h')
-rw-r--r--third_party/libwebrtc/pc/srtp_transport.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/third_party/libwebrtc/pc/srtp_transport.h b/third_party/libwebrtc/pc/srtp_transport.h
index 46c11ed56d..29721f3b68 100644
--- a/third_party/libwebrtc/pc/srtp_transport.h
+++ b/third_party/libwebrtc/pc/srtp_transport.h
@@ -41,9 +41,6 @@ class SrtpTransport : public RtpTransport {
virtual ~SrtpTransport() = default;
- virtual RTCError SetSrtpSendKey(const cricket::CryptoParams& params);
- virtual RTCError SetSrtpReceiveKey(const cricket::CryptoParams& params);
-
bool SendRtpPacket(rtc::CopyOnWriteBuffer* packet,
const rtc::PacketOptions& options,
int flags) override;
@@ -109,6 +106,10 @@ class SrtpTransport : public RtpTransport {
rtp_abs_sendtime_extn_id_ = rtp_abs_sendtime_extn_id;
}
+ // In addition to unregistering the sink, the SRTP transport
+ // disassociates all SSRCs of the sink from libSRTP.
+ bool UnregisterRtpDemuxerSink(RtpPacketSinkInterface* sink) override;
+
protected:
// If the writable state changed, fire the SignalWritableState.
void MaybeUpdateWritableState();