Skip to content
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

Closed
2 tasks done
j1elo opened this issue Apr 8, 2022 · 1 comment
Closed
2 tasks done
Assignees
Labels
bug Non-critical bug affecting expected behavior regression A previously working feature that is found to be broken

Comments

@j1elo
Copy link
Member

j1elo commented Apr 8, 2022

Prerequisites

These are MANDATORY, otherwise the issue will be automatically closed.

Issue description

The addition of externalIpv4 and externalIpv6 to replace externalAddress lost the detail of affecting only the local candidates of type host. Using any of the newer parameters will change the address of ALL candidates, while using externalAddress would apply the given address only to host ones. So I guess this is a regression in behavior.

See screenshot, where externalIpv4 was set to 1.2.3.4:

image

Context

A Kurento server with externalIpv4 or externalIpv6 setting active, and also using a STUN or TURN server to retrieve srflx and relay candidates.

(Optional) Possible solution

Add

&& kms_ice_candidate_get_candidate_type (candidate) == KMS_ICE_CANDIDATE_TYPE_HOST)

to the conditionals, or move the conditionals inside a parent if () with mentioned code.

@j1elo j1elo added the regression A previously working feature that is found to be broken label Apr 8, 2022
@j1elo j1elo self-assigned this Apr 8, 2022
@j1elo j1elo added the bug Non-critical bug affecting expected behavior label Apr 8, 2022
@github-actions
Copy link

github-actions bot commented Apr 8, 2022

Hello @j1elo! 👋 we're sorry you found a bug... so first of all, thank you very much for reporting it.

To know about progress, check in Triage. All issues are considered Backlog Candidates until work priorities align and the issue is selected for development. It will then become part of our official Backlog.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Non-critical bug affecting expected behavior regression A previously working feature that is found to be broken
Projects
None yet
Development

No branches or pull requests

1 participant