mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
res_rtp_asterisk: Add ability to propose local address in ICE
You can now add the "include_local_address" flag to an entry in rtp.conf "[ice_host_candidates]" to include both the advertized address and the local address in ICE negotiation: [ice_host_candidates] 192.168.1.1 = 1.2.3.4,include_local_address This causes both 192.168.1.1 and 1.2.3.4 to be advertized. Change-Id: Ide492cd45ce84546175ca7d557de80d9770513db
This commit is contained in:
@@ -118,13 +118,19 @@ rtpend=20000
|
||||
;
|
||||
; The format for these overrides is:
|
||||
;
|
||||
; <local address> => <advertised address>
|
||||
; <local address> => <advertised address>,[include_local_address]
|
||||
;
|
||||
; The following will replace 192.168.1.10 with 1.2.3.4 during ICE
|
||||
; negotiation:
|
||||
;
|
||||
;192.168.1.10 => 1.2.3.4
|
||||
;
|
||||
; The following will include BOTH 192.168.1.10 and 1.2.3.4 during ICE
|
||||
; negotiation instead of replacing 192.168.1.10. This can make it easier
|
||||
; to serve both local and remote clients.
|
||||
;
|
||||
;192.168.1.10 => 1.2.3.4,include_local_address
|
||||
;
|
||||
; You can define an override for more than 1 interface if you have a multihomed
|
||||
; server. Any local interface that is not matched will be passed through
|
||||
; unaltered. Both IPv4 and IPv6 addresses are supported.
|
||||
|
Reference in New Issue
Block a user