- * rtp_source_set_sdes_string:
- * @src: an #RTPSource
- * @type: the type of the SDES item
- * @data: the SDES data
- *
- * Store an SDES item of @type in @src.
- *
- * Returns: %FALSE if the SDES item was unchanged or @type is unknown.
- */
-gboolean
-rtp_source_set_sdes_string (RTPSource * src, GstRTCPSDESType type,
- const gchar * data)
-{
- const gchar *old;
- const gchar *field;
-
- field = gst_rtcp_sdes_type_to_name (type);
-
- if (gst_structure_has_field (src->sdes, field))
- old = gst_structure_get_string (src->sdes, field);
- else
- old = NULL;
-
- if (old == NULL && data == NULL)
- return FALSE;
-
- if (old != NULL && data != NULL && strcmp (old, data) == 0)
- return FALSE;
-
- if (data == NULL)
- gst_structure_remove_field (src->sdes, field);
- else
- gst_structure_set (src->sdes, field, G_TYPE_STRING, data, NULL);
-
- return TRUE;
-}
-
-/**
- * rtp_source_get_sdes_string:
- * @src: an #RTPSource
- * @type: the type of the SDES item
- *
- * Get the SDES item of @type from @src.
- *
- * Returns: a null-terminated copy of the SDES item or NULL when @type was not
- * valid or the SDES item was unset. g_free() after usage.
- */
-gchar *
-rtp_source_get_sdes_string (RTPSource * src, GstRTCPSDESType type)
-{
- gchar *result;
- const gchar *type_name;
-
- g_return_val_if_fail (RTP_IS_SOURCE (src), NULL);
-
- if (type < 0 || type > GST_RTCP_SDES_PRIV - 1)
- return NULL;
-
- type_name = gst_rtcp_sdes_type_to_name (type);
-
- if (!gst_structure_has_field (src->sdes, type_name))
- return NULL;
-
- result = g_strdup (gst_structure_get_string (src->sdes, type_name));
-
- return result;
-}
-
-/**