gstreamer/subprojects/gst-plugins-bad/tests
Carlos Bentzen b83b73841d webrtc: fix duplicate payload types with RTX and multiple video codecs
Before this patch, there could be duplicate payload types in offers that
have, within a media section, multiple codecs and RTX enabled:

```
m=video 9 UDP/TLS/RTP/SAVPF 96 97 97 <-- HAS DUPLICATES
a=sendrecv
a=rtpmap:96 VP8/90000
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 ccm fir
a=rtcp-fb:96 transport-cc
a=rtpmap:97 H264/90000
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 transport-cc
a=rtpmap:97 rtx/90000  <--------- PT IS DUPLICATE
a=fmtp:97 apt=96
```

Fix this by populating the media_mapping array with all media formats
rather than only the first one. The added test case reproduces the issue,
which fails without this patch.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8259>
2025-01-13 10:11:59 +00:00
..
check webrtc: fix duplicate payload types with RTX and multiple video codecs 2025-01-13 10:11:59 +00:00
examples meson: Fix build with gtk3 but not wayland 2025-01-08 07:53:36 +00:00
files pitch: add interactive test 2024-05-02 10:24:30 +02:00
interactive pitch: add interactive test 2024-05-02 10:24:30 +02:00
validate ci: Fail tests if we forget to checkout expectation files 2024-08-21 17:53:38 +00:00
meson.build gstreamer-full: add full static support 2023-05-31 15:17:11 +00:00