From 23d07f3c7b32baaaa644f4b342a8c7ec51c0fb9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 18 Aug 2021 19:35:36 -0400 Subject: [PATCH] rtphdrext-rfc6464: Add example pipeline This makes it a bit easier to understand how to use it in an application. Part-of: --- gst/rtpmanager/gstrtphdrext-rfc6464.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gst/rtpmanager/gstrtphdrext-rfc6464.c b/gst/rtpmanager/gstrtphdrext-rfc6464.c index b13bb349f5..3aefa3cf1b 100644 --- a/gst/rtpmanager/gstrtphdrext-rfc6464.c +++ b/gst/rtpmanager/gstrtphdrext-rfc6464.c @@ -23,10 +23,17 @@ * if their `auto-header-extension` property is enabled, if the extension * is part of the RTP caps. * + * ## Example pipeline + * |[ + * gst-launch-1.0 pulsesrc ! level audio-level-meta=true ! audiconvert ! + * rtpL16pay ! application/x-rtp, + * extmap-1=(string)\< \"\", urn:ietf:params:rtp-hdrext:ssrc-audio-level, + * \"vad=on\" \> ! udpsink + * ]| + * * Since: 1.20 * */ - #ifdef HAVE_CONFIG_H #include "config.h" #endif