From 849839ba97dfac4c924e58bae614d9d84bb1f629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 8 Oct 2020 18:49:56 +0300 Subject: [PATCH] Revert "rtptransceiver: Store the SSRC of the current stream" This reverts commit d1da271f255101dbe95a426d9f5065d300b53e5a. It breaks the CI until the C# bindings are fixed. --- ext/webrtc/gstwebrtcbin.c | 8 -------- ext/webrtc/webrtctransceiver.h | 1 - 2 files changed, 9 deletions(-) diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index b054a72983..75d02a4972 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -277,14 +277,6 @@ gst_webrtcbin_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) GST_DEBUG_OBJECT (parent, "On %" GST_PTR_FORMAT " checking negotiation? %u, caps %" GST_PTR_FORMAT, pad, check_negotiation, caps); - - if (check_negotiation) { - WebRTCTransceiver *trans = WEBRTC_TRANSCEIVER (wpad->trans); - const GstStructure *s; - - s = gst_caps_get_structure (caps, 0); - gst_structure_get_uint (s, "ssrc", &trans->current_ssrc); - } } else if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) { check_negotiation = TRUE; } diff --git a/ext/webrtc/webrtctransceiver.h b/ext/webrtc/webrtctransceiver.h index f834fd329a..c037304151 100644 --- a/ext/webrtc/webrtctransceiver.h +++ b/ext/webrtc/webrtctransceiver.h @@ -39,7 +39,6 @@ struct _WebRTCTransceiver TransportStream *stream; GstStructure *local_rtx_ssrc_map; - guint current_ssrc; /* Properties */ GstWebRTCFECType fec_type;