Auto rtp depayloader and decoder

Sebastian Dröge sebastian at centricular.com
Fri Jan 18 13:36:22 UTC 2019


On Fri, 2019-01-18 at 11:35 +0100, Andrea Lo Pumo wrote:
> I receive a rtp stream and the codec might vary, for example, G711,
> G722, G726, ...
> 
> I would like a "rtpdecodebin", to do something like:
> 
> udpsrc port=1234 caps="application/x-rtp" ! rtpptdemux ! rtpdecodebin
> ! audioconvert ! autoaudiosink
> 
> I can listen to the"request-pt-map" signal and tell rtpptdemux the
> exact format of the payload.
> 
> What can I do?

decodebin can do exactly that already. You only have to provide it with
complete caps for the incoming RTP stream and it will select
depayloaders, parsers and decoders as needed.

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190118/3ddee427/attachment.sig>


More information about the gstreamer-devel mailing list