rtpbasepayload: add auto-header-extension property
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Tue, 26 Jan 2021 08:37:44 +0000 (09:37 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Wed, 3 Feb 2021 10:19:04 +0000 (11:19 +0100)
commitbad4b1711dd5d63a13880f8169441eea70a4ad91
treec8a74e3a1f3cd74b946ea432ab01910b1422881b
parent23370ec429fee5b3bf9a0a932fa135352640bd4e
rtpbasepayload: add auto-header-extension property

Using RTP header extensions is currently not convenient. Users have to
handle signals from the RTP payloader and instantiate the extension
element themselves, making it impossible to use with gst-launch.

Adding a property allowing the payloader to automatically try creating
extensions. This should help simple use cases and testing using
gst-launch.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1022>
gst-libs/gst/rtp/gstrtpbasepayload.c