diff options
author | Matthew Waters <matthew@centricular.com> | 2023-05-04 16:30:09 +1000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2023-05-08 15:51:55 +0100 |
commit | 0161687505156f54ff38b976668804ac2763a863 (patch) | |
tree | b402c8aa5b2e1bb9fa08bdb0d4688a97d4e9e97a | |
parent | e23645b5ad364658dcd8840f4754c08007a4d2fb (diff) | |
download | gstreamer-0161687505156f54ff38b976668804ac2763a863.tar.gz |
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4575>
-rw-r--r-- | subprojects/gst-plugins-bad/gst-libs/gst/webrtc/nice/nice.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |