Add option to exclude local IPv6 candidates. (#4657)

Could be useful option to try in certain conditions where flakey IPv6
infrastructure is suspected for connection issues.
This commit is contained in:
Raja Subramanian
2026-07-10 15:56:58 +05:30
committed by GitHub
parent aff752a4bc
commit 19c3d00fc9
5 changed files with 75 additions and 62 deletions
+2
View File
@@ -228,6 +228,7 @@ type ParticipantParams struct {
EnableParticipantDataBlob bool
EnableStartAtDesiredQuality bool
MigrationWaitDuration time.Duration
ExcludeIPv6LocalCandidates bool
}
type ParticipantImpl struct {
@@ -2057,6 +2058,7 @@ func (p *ParticipantImpl) setupTransportManager() error {
UseOneShotSignallingMode: p.params.UseOneShotSignallingMode,
FireOnTrackBySdp: p.params.FireOnTrackBySdp,
EnableDataTracks: p.params.EnableDataTracks,
ExcludeIPv6LocalCandidates: p.params.ExcludeIPv6LocalCandidates,
}
if p.params.SyncStreams && p.params.PlayoutDelay.GetEnabled() && p.params.ClientInfo.isFirefox() {
// we will disable playout delay for Firefox if the user is expecting