You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/ex_webrtc/peer_connection/configuration.ex
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,13 @@ defmodule ExWebRTC.PeerConnection.Configuration do
157
157
* `ice_transport_policy` - which type of ICE candidates should be used. Defaults to `:all`.
158
158
* `ice_ip_filter` - filter applied when gathering local candidates. By default, all IP addresses are accepted.
159
159
* `ice_port_range` - range of ports that ICE will use for gathering host candidates. Defaults to ephemeral ports.
160
+
* `ice_aggressive_nomination` - whether ICE agent should use aggressive nomination. By default, ICE agent
161
+
relies on regular nomination defined in RFC 8445. However, some WebRTC implementations require
162
+
controlling side to nominate the pair before they can start sending data (e.g. Pion, Firefox).
163
+
This can result in longer, connection establishment time as regular nomination nominates only one pair,
164
+
at the very end of the whole connection establishment process. To mitigate this issue, you can eitehr add empty ICE candidate (this will indicate that there won't be further
165
+
remote candidates and once all connectivity checks pass, ICE will nominate the pair), or use aggressive nomination.
166
+
Defaults to false.
160
167
* `audio_codecs` and `video_codecs` - lists of audio and video codecs to negotiate. By default these are equal to
161
168
`default_audio_codecs/0` and `default_video_codecs/0`. To extend the list with your own codecs, do
0 commit comments