Opus via RTP

Sebastian Dröge sebastian at centricular.com
Sun Sep 11 12:11:26 UTC 2016


On So, 2016-09-11 at 04:17 -0700, MikeSI wrote:
> I cannot reeive opus via RTP. Even If i set payload it's always the
> same.
> 
> gst-launch-1.0 -vvvvv udpsrc port=1236
> caps="application/x-rtp,media=(string)audio,clock-
> rate=48000,encoding-params=2,encoding-name=(string)OPUS"

This is not a complete pipeline, you're missing at least the RTP
depayloader, possibly a decoder and converters, and a sink. E.g.

gst-launch-1.0 -vvvvv udpsrc port=1236 caps="application/x-
rtp,media=(string)audio,clock-rate=48000,encoding-params=2,encoding-
name=(string)OPUS" ! rtpopusdepay ! opusdec ! fakesink

-- 
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: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160911/d419c3ec/attachment.sig>


More information about the gstreamer-devel mailing list