rtpL16pay payload type
Sebastian Dröge
sebastian at centricular.com
Sat Apr 11 10:04:45 PDT 2015
On Sa, 2015-04-11 at 16:51 +0200, Johannes Bauer wrote:
> Hello dear devs!
>
> I am new to gstreamer and it seems to be an awesome tool, I downloaded gstreamer-1.0 SDK for windows and everything works fine, but I have one problem.
>
> I want to stream a wav file to another client, which in fact is a VoiP client.
> Everything works fine, by using decodebin and rtpL16pay into a rtpbin.
> However it is only sending with payload type 98, but my client needs to get pt 11 rtp pakets.
> I tried with g_object_set, but it doesn't change a thing.
>
> g_object_set(GST_OBJECT(rtpL16pay), "pt", 11, NULL);
>
> Unfortunatly I cant post the complete code now since I am on vacation.
> If anybody could give me hint here, how to change the payload type I would be very thankful.
You can get the static payload types from the payloaders by using a
capsfilter and providing the static pt caps, e.g.
gst-launch-1.0 audiotestsrc ! audioconvert ! rtpL16pay ! application/x-rtp,payload=11 ! fakesink
The property only seems to work for the dynamic pt range.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150411/ff796be6/attachment.sig>
More information about the gstreamer-devel
mailing list