This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
externalIpv4 and externalIpv6 affect all candidates instead of just host #622
Labels
bug
Non-critical bug affecting expected behavior
regression
A previously working feature that is found to be broken
Prerequisites
These are MANDATORY, otherwise the issue will be automatically closed.
Issue description
The addition of
externalIpv4
andexternalIpv6
to replaceexternalAddress
lost the detail of affecting only the local candidates of typehost
. Using any of the newer parameters will change the address of ALL candidates, while usingexternalAddress
would apply the given address only to host ones. So I guess this is a regression in behavior.See screenshot, where
externalIpv4
was set to1.2.3.4
:Context
A Kurento server with
externalIpv4
orexternalIpv6
setting active, and also using a STUN or TURN server to retrievesrflx
andrelay
candidates.(Optional) Possible solution
Add
to the conditionals, or move the conditionals inside a parent
if ()
with mentioned code.The text was updated successfully, but these errors were encountered: