gstreamer/subprojects/gst-plugins-bad/tests
Jan Schmidt 0f8fc27892 webrtcbin: Fix renegotiation checks
When checking for renegotiation against a local offer,
reverse the remote direction in the corresponding answer
to fix falsely not triggering on-negotiation needed when
switching (for example) from local sendrecv -> recvonly
against a peer that answered 'recvonly'.

In the other direction, when the local was the answerer,
renegotiation might trigger when it didn't need to -
whenever the local transceiver direction differs from
the intersected direction we chose. Instead what we want
is to check if the intersected direction we would now
choose differs from what was previously chosen.

This makes the behaviour in both cases match the
behaviour described in
https://www.w3.org/TR/webrtc/#dfn-check-if-negotiation-is-needed

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7303>
2024-08-11 21:45:10 +00:00
..
check webrtcbin: Fix renegotiation checks 2024-08-11 21:45:10 +00:00
examples d3d12videosink: Add support for window handle update 2024-06-17 16:05:00 +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 pitch: add validate tests 2024-05-02 13:26:09 +02:00
meson.build gstreamer-full: add full static support 2023-05-31 15:17:11 +00:00