mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
webrtcbin: Remove unused session_mid_map
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2104>
This commit is contained in:
parent
08dd305a20
commit
be84cc2c54
2 changed files with 0 additions and 22 deletions
|
@ -429,18 +429,6 @@ _add_ice_stream_item (GstWebRTCBin * webrtc, guint session_id,
|
|||
g_array_append_val (webrtc->priv->ice_stream_map, item);
|
||||
}
|
||||
|
||||
typedef struct
|
||||
{
|
||||
guint session_id;
|
||||
gchar *mid;
|
||||
} SessionMidItem;
|
||||
|
||||
static void
|
||||
clear_session_mid_item (SessionMidItem * item)
|
||||
{
|
||||
g_free (item->mid);
|
||||
}
|
||||
|
||||
typedef gboolean (*FindTransceiverFunc) (GstWebRTCRTPTransceiver * p1,
|
||||
gconstpointer data);
|
||||
|
||||
|
@ -6586,10 +6574,6 @@ gst_webrtc_bin_finalize (GObject * object)
|
|||
g_array_free (webrtc->priv->pending_local_ice_candidates, TRUE);
|
||||
webrtc->priv->pending_local_ice_candidates = NULL;
|
||||
|
||||
if (webrtc->priv->session_mid_map)
|
||||
g_array_free (webrtc->priv->session_mid_map, TRUE);
|
||||
webrtc->priv->session_mid_map = NULL;
|
||||
|
||||
if (webrtc->priv->pending_pads)
|
||||
g_list_free_full (webrtc->priv->pending_pads,
|
||||
(GDestroyNotify) _free_pending_pad);
|
||||
|
@ -7099,11 +7083,6 @@ gst_webrtc_bin_init (GstWebRTCBin * webrtc)
|
|||
webrtc->priv->pending_data_channels =
|
||||
g_ptr_array_new_with_free_func ((GDestroyNotify) gst_object_unref);
|
||||
|
||||
webrtc->priv->session_mid_map =
|
||||
g_array_new (FALSE, TRUE, sizeof (SessionMidItem));
|
||||
g_array_set_clear_func (webrtc->priv->session_mid_map,
|
||||
(GDestroyNotify) clear_session_mid_item);
|
||||
|
||||
webrtc->priv->ice_stream_map =
|
||||
g_array_new (FALSE, TRUE, sizeof (IceStreamItem));
|
||||
webrtc->priv->pending_remote_ice_candidates =
|
||||
|
|
|
@ -95,7 +95,6 @@ struct _GstWebRTCBinPrivate
|
|||
|
||||
gboolean bundle;
|
||||
GPtrArray *transceivers;
|
||||
GArray *session_mid_map;
|
||||
GPtrArray *transports;
|
||||
GPtrArray *data_channels;
|
||||
/* list of data channels we've received a sctp stream for but no data
|
||||
|
|
Loading…
Reference in a new issue