Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
This repository was 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
@j1elo

Description

@j1elo

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.

Metadata

Metadata

Assignees

Labels

bugNon-critical bug affecting expected behaviorregressionA previously working feature that is found to be broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions