sess->internal_ssrc_set = TRUE;
sess->internal_ssrc_from_caps_or_property = TRUE;
if (source) {
- rtp_source_update_caps (source, caps);
+ rtp_source_update_send_caps (source, caps);
if (created)
on_new_sender_ssrc (sess, source);
source =
obtain_internal_source (sess, ssrc, &created, GST_CLOCK_TIME_NONE);
if (source) {
- rtp_source_update_caps (source, caps);
+ rtp_source_update_send_caps (source, caps);
if (created)
on_new_sender_ssrc (sess, source);
g_free (src->bye_reason);
- gst_caps_replace (&src->caps, NULL);
+ gst_caps_replace (&src->send_caps, NULL);
g_list_free_full (src->conflicting_addresses,
(GDestroyNotify) rtp_conflicting_address_free);
* Parse @caps and store all relevant information in @source.
*/
void
-rtp_source_update_caps (RTPSource * src, GstCaps * caps)
+rtp_source_update_send_caps (RTPSource * src, GstCaps * caps)
{
GstStructure *s;
guint val;
gboolean rtx;
/* nothing changed, return */
- if (caps == NULL || src->caps == caps)
+ if (caps == NULL || src->send_caps == caps)
return;
s = gst_caps_get_structure (caps, 0);
GST_DEBUG ("got %sseqnum-offset %" G_GINT32_FORMAT, rtx ? "rtx " : "",
src->seqnum_offset);
- gst_caps_replace (&src->caps, caps);
+ gst_caps_replace (&src->send_caps, caps);
}
/**
GSocketAddress *rtcp_from;
gint payload;
- GstCaps *caps;
+ GstCaps *send_caps;
gint clock_rate;
gint32 seqnum_offset;
gboolean rtp_source_is_marked_bye (RTPSource *src);
gchar * rtp_source_get_bye_reason (RTPSource *src);
-void rtp_source_update_caps (RTPSource *src, GstCaps *caps);
+void rtp_source_update_send_caps (RTPSource *src, GstCaps *caps);
/* SDES info */
const GstStructure *