From 0161687505156f54ff38b976668804ac2763a863 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 4 May 2023 16:30:09 +1000 Subject: 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. 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 f62eb91b72..a59f578c4c 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 @@ -1583,6 +1583,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); -- cgit v1.2.1