From 92626535c7136725dfab0857d6c3900e041084b7 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Thu, 15 Aug 2019 08:25:26 -0700 Subject: webrtc ice: Add 'min/max-rtp-port' props for setting RTP port range default min port == 0, max port == 65535 -- if min port == 0, uses existing random port selection (range ignored) add 'gathering_started' flag to avoid changing ports after gathering has started validity checks: min port <= max port enforced, error thrown otherwise include tests to ensure port range is being utilized (by @hhardy) Part-of: --- docs/plugins/gst_plugins_cache.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'docs') diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index fd4f6d031..ff2af7934 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -225773,6 +225773,34 @@ "readable": true, "type": "gboolean", "writable": true + }, + "max-rtp-port": { + "blurb": "Maximum port for local rtp port range. max-rtp-port must be >= min-rtp-port", + "conditionally-available": false, + "construct": true, + "construct-only": false, + "controllable": false, + "default": "65535", + "max": "65535", + "min": "0", + "mutable": "null", + "readable": true, + "type": "guint", + "writable": true + }, + "min-rtp-port": { + "blurb": "Minimum port for local rtp port range. min-rtp-port must be <= max-rtp-port", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "0", + "max": "65535", + "min": "0", + "mutable": "null", + "readable": true, + "type": "guint", + "writable": true } }, "signals": { -- cgit v1.2.1