// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
// SPDX-License-Identifier: MIT

package webrtc

import 

// ICECandidatePair represents an ICE Candidate pair.
type ICECandidatePair struct {
	statsID string
	Local   *ICECandidate
	Remote  *ICECandidate
}

func newICECandidatePairStatsID(,  string) string {
	return fmt.Sprintf("%s-%s", , )
}

func ( *ICECandidatePair) () string {
	return fmt.Sprintf("(local) %s <-> (remote) %s", .Local, .Remote)
}

// NewICECandidatePair returns an initialized *ICECandidatePair
// for the given pair of ICECandidate instances.
func (,  *ICECandidate) *ICECandidatePair {
	 := newICECandidatePairStatsID(.statsID, .statsID)

	return &ICECandidatePair{
		statsID: ,
		Local:   ,
		Remote:  ,
	}
}