<div dir="ltr">I mentioned <i>clock-rate</i> by mistake, I was actually talking about only the random properties such as <i>seqnum-base</i> and <i>ssrc</i> which according to RTP should be random but I want to do something for which I require them to be a particular value that I can assign.<div>
I tried using <span class="" style="font-family:arial,sans-serif;font-size:13px">gst_caps_new_simple and then link_filtered to </span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 12:47 PM, Chuck Crisler <span dir="ltr"><<a href="mailto:ccrisler@mutualink.net" target="_blank">ccrisler@mutualink.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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"><div><div class="h5">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>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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><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></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
<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><br clear="all"><div><br></div>-- <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>
</div>