rtphdrext-rfc6464: Add example pipeline
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 18 Aug 2021 23:35:36 +0000 (19:35 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 30 Aug 2021 17:01:15 +0000 (17:01 +0000)
This makes it a bit easier to understand how to use it in an application.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1058>

gst/rtpmanager/gstrtphdrext-rfc6464.c

index b13bb34..3aefa3c 100644 (file)
  * 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