From c1dc4fd0efffea0639ac2718d4c2f9da930d841f Mon Sep 17 00:00:00 2001 From: Tommi Date: Wed, 1 Mar 2023 12:08:09 +0100 Subject: [PATCH] Remove sigslot dependency from RtpTransceiver Bug: webrtc:11943 Change-Id: I4212c90088671150f4fe828ad238380bf71b938e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/295720 Commit-Queue: Harald Alvestrand Auto-Submit: Tomas Gunnarsson Reviewed-by: Harald Alvestrand Cr-Commit-Position: refs/heads/main@{#39440} --- pc/rtp_transceiver.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pc/rtp_transceiver.h b/pc/rtp_transceiver.h index 0844b349b6..530522a24a 100644 --- a/pc/rtp_transceiver.h +++ b/pc/rtp_transceiver.h @@ -43,7 +43,6 @@ #include "pc/rtp_sender_proxy.h" #include "pc/rtp_transport_internal.h" #include "pc/session_description.h" -#include "rtc_base/third_party/sigslot/sigslot.h" #include "rtc_base/thread_annotations.h" namespace cricket { @@ -82,8 +81,7 @@ class PeerConnectionSdpMethods; // MediaType specified in the constructor. Audio RtpTransceivers will have // AudioRtpSenders, AudioRtpReceivers, and a VoiceChannel. Video RtpTransceivers // will have VideoRtpSenders, VideoRtpReceivers, and a VideoChannel. -class RtpTransceiver : public RtpTransceiverInterface, - public sigslot::has_slots<> { +class RtpTransceiver : public RtpTransceiverInterface { public: // Construct a Plan B-style RtpTransceiver with no senders, receivers, or // channel set. @@ -257,10 +255,6 @@ class RtpTransceiver : public RtpTransceiverInterface, // the webrtc-pc specification, described under the stop() method. void StopTransceiverProcedure(); - // Fired when the RtpTransceiver state changes such that negotiation is now - // needed (e.g., in response to a direction change). - // sigslot::signal0<> SignalNegotiationNeeded; - // RtpTransceiverInterface implementation. cricket::MediaType media_type() const override; absl::optional mid() const override;