We're never going to receive anything from them, so don't create pads
for them. These medias are destinations where *we* could send something.
else
goto unknown_proto;
+ if (gst_sdp_media_get_attribute_val (media, "sendonly") != NULL)
+ goto sendonly_media;
+
/* Parse global SDP attributes once */
global_caps = gst_caps_new_empty_simple ("application/x-unknown");
GST_DEBUG ("mapping sdp session level attributes to caps");
GST_ERROR_OBJECT (src, "unknown proto in media: '%s'", proto);
return;
}
+sendonly_media:
+ {
+ GST_DEBUG_OBJECT (src, "sendonly media ignored");
+ return;
+ }
}
static const gchar *