webrtcstats: Properly report IceCandidate type
authorPhilippe Normand <philn@igalia.com>
Fri, 30 Jun 2023 17:30:46 +0000 (18:30 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 3 Jul 2023 08:17:01 +0000 (09:17 +0100)
commita75140ba871aae590dc37c08a8e5357ef5e746ea
tree4d35ac166bc15c9c808430e5516af7a608468d5a
parentb27523cc26cde65b9b6b5ea484e11a30d6777f90
webrtcstats: Properly report IceCandidate type

strcmp returns a positive value if s1 is greater than s2, while we actually
needed to check equality here.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4957>
subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcstats.c