rtpopusdepay: Assume 48 kHz if sprop-maxcapturerate is missing
authorArun Raghavan <arun@asymptotic.io>
Fri, 10 Mar 2023 17:06:08 +0000 (12:06 -0500)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 14 Mar 2023 21:31:30 +0000 (21:31 +0000)
commit0dd60e06e82389c5b88b197de3e1354d5610804b
tree160d99c36850f4447d71b42d4895d1584331bc13
parentdbaca4418dc1cc3a389af8320fda2c0a28d3dd0e
rtpopusdepay: Assume 48 kHz if sprop-maxcapturerate is missing

This matches 7587, section 6.1:

>   sprop-maxcapturerate:  a hint about the maximum input sampling rate
>      [...]
>      bandwidths (Table 1).  By default, the sender is assumed to have
>      no limitations, i.e., 48000.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2354
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4172>
subprojects/gst-plugins-good/gst/rtp/gstrtpopusdepay.c