The generated capabilities aren't random, they are default, except for the seqnum-base, which RTP says can (should?) be random. Different elements require different capabilities, so these may not hold for your case. However, you can always initialize the capabilities like this:<br>
<br>            GstCaps *pSinkCaps = gst_caps_new_simple("application/x-rtp", "media", G_TYPE_STRING, "video",<br>                     "encoding-name", G_TYPE_STRING, "H264", "payload", G_TYPE_INT, 96,<br>
                     "clock-rate", G_TYPE_INT, 90000, NULL);<br><br>            // Link the pipeline together.<br>            if (gst_element_link_filtered(source_, queue_, pSinkCaps)) {<br>            ...<br>            }<br>
            gst_caps_unref(pSinkCaps);<br><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 10:05 AM, Saurabh Sabnis <span dir="ltr"><<a href="mailto:sausab@gmail.com" target="_blank">sausab@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am new to <i>gstreamer</i> and I am trying to send RTP stream over the network. The <i>'rtpvp8pay'</i> element automatically generates some random capabilities such as <i>seqnum-base, clock-rate</i> and <i>ssrc</i> that need to be used as cap filter for <i>'udpsrc'</i> element at the receiving side.</div>

<div>Is it possible to manually set these capabilities at the sender side instead of letting 'rtpvp8pay' element to generate these randomly?</div><div><br></div><div><br></div><div>Thanks and regards,<span class="HOEnZb"><font color="#888888"><br>
-- <br><div>
<b><i>Saurabh Sabnis</i></b></div><b><i>Graduate Student</i></b><div><b><i>College of Computing</i></b></div><div><b><i>Georgia Institute of Technology</i></b></div><div><b><i>Atlanta, GA 30332-0280</i></b></div><div><b><i><a href="mailto:ssabnis3@gatech.edu" target="_blank">ssabnis3@gatech.edu</a></i></b></div>


</font></span></div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>