From f11171ba64db6efa3b04f0a127346f0ae25d0964 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 4 May 2023 16:30:09 +1000 Subject: [PATCH] webrtc/nice: support consent-freshness RFC7675 As is supported by libwebrtc already. This allows ICE components to transition to failed if consent to send from the peer is revoked or if multiple consent packets are lost. Change-Id: Ied5cfecd6472e22c7edfee7009a7ba6b19bb044f Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nice.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nice.c b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nice.c index 04c96b6..b0ecc2c 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nice.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nice.c @@ -1589,6 +1589,7 @@ 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); -- 2.7.4