rtprtxsend: allow generic input caps
authorMathieu Duponchelle <mathieu@centricular.com>
Mon, 27 Jan 2020 22:59:05 +0000 (23:59 +0100)
committerMathieu Duponchelle <mduponchelle1@gmail.com>
Tue, 28 Jan 2020 15:44:13 +0000 (15:44 +0000)
commita245e85fb1fb8106502bb24234a44ca5c282608c
tree8dfb0978a92434e9aafe962a95046ad9c42fc487
parent88ce7397fcbe1e9724728798af5905d00ee2d8a5
rtprtxsend: allow generic input caps

When connected to an upstream rtpfunnel element, payload-type,
ssrc and clock-rate will not be present in the received caps.

rtprtxsend can already deal with only the clock rate being
present there, a new property is exposed to allow users to
provide a payload-type -> clock-rate map, this enables the
use of the max-size-time property for bundled streams.
gst/rtpmanager/gstrtprtxsend.c
gst/rtpmanager/gstrtprtxsend.h
tests/check/elements/rtprtx.c