Revert "webrtc/nice: support consent-freshness RFC7675"

This reverts commit 0161687505.

This causes problems when the connection is congested because
libnice uses a too agressive timeout contrary to the spec, so
it's easy for consent to lapse and streaming to stop if there's
packet loss.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4649>
This commit is contained in:
Tim-Philipp Müller 2023-05-16 16:17:05 +01:00 committed by GStreamer Marge Bot
parent 59637a244c
commit 556449a917

View file

@ -1583,7 +1583,6 @@ gst_webrtc_nice_constructed (GObject * object)
options |= NICE_AGENT_OPTION_ICE_TRICKLE;
options |= NICE_AGENT_OPTION_REGULAR_NOMINATION;
options |= NICE_AGENT_OPTION_CONSENT_FRESHNESS;
ice->priv->nice_agent = nice_agent_new_full (ice->priv->main_context,
NICE_COMPATIBILITY_RFC5245, options);