rtpopuspay: make depay ! pay work
authorHavard Graff <havard@pexip.com>
Fri, 3 Apr 2020 08:29:18 +0000 (10:29 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 3 Apr 2020 09:04:32 +0000 (09:04 +0000)
commitd9aaa15a30ecaf86e9ca82135300fcd223da5648
treed59e7d4e813321bf79284efd041e9711f02a7d3b
parent018218dd73d9f79b8756e059f2e00d2fbd9b952e
rtpopuspay: make depay ! pay work

There is a use-case for a server to re-payload opus going through it.

Problem was that the payloader requires channels in the caps, but
this is not something the depayloader can parse out of the stream, meaning
caps-negotiation would fail.

Removing the requirement of channels in the template-caps fixes this.
gst/rtp/gstrtpopuspay.c
tests/check/elements/rtpopus.c [new file with mode: 0644]
tests/check/meson.build