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)
{
* 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);