webrtcbin: Remove incomplete codes 44/311944/3
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 31 May 2024 02:46:37 +0000 (11:46 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 3 Jun 2024 00:13:58 +0000 (09:13 +0900)
It turns out to have misbehavior when making sdp description
in case of renegotiation. So it has been removed.

Change-Id: Ibc3b3052c404eae5bcd988fade20e14dd40771d3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/gstreamer.spec
subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c

index 7c9f7134cd966ec14e1747fdf5bbd46f8c1269d1..70f3172ed47fb821ef6421b64bb89e8f27501d7f 100644 (file)
@@ -62,7 +62,7 @@
 
 Name:           %{_name}
 Version:        1.22.8
-Release:        8
+Release:        9
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index d50d9978e7caa44c83ca1bfdedc2dd109b25ce94..8f224620bee6983678899e81235ff867e993faef 100644 (file)
@@ -2473,16 +2473,6 @@ _create_webrtc_transceiver (GstWebRTCBin * webrtc,
   return trans;
 }
 
-#ifdef TIZEN_FEATURE_WEBRTC_MODIFICATION
-static void
-_remove_webrtc_transceiver (GstWebRTCBin * webrtc,
-    GstWebRTCRTPTransceiver * trans)
-{
-  g_ptr_array_remove (webrtc->priv->transceivers, trans);
-  gst_object_unref (trans);
-}
-#endif
-
 static TransportStream *
 _create_transport_channel (GstWebRTCBin * webrtc, guint session_id)
 {
@@ -8350,11 +8340,7 @@ gst_webrtc_bin_release_pad (GstElement * element, GstPad * pad)
    * a possibly dead transceiver */
   PC_LOCK (webrtc);
   if (webrtc_pad->trans)
-#ifdef TIZEN_FEATURE_WEBRTC_MODIFICATION
-    _remove_webrtc_transceiver (webrtc, webrtc_pad->trans);
-#else
     gst_object_unref (webrtc_pad->trans);
-#endif
   webrtc_pad->trans = NULL;
   gst_caps_replace (&webrtc_pad->received_caps, NULL);
   PC_UNLOCK (webrtc);