mirror of
https://github.com/pion/webrtc.git
synced 2025-09-26 19:21:12 +08:00
Return object icluding stat id for selected pair
Returning the object with stat id is useful when cross-referencing stats.
This commit is contained in:

committed by
Raja Subramanian

parent
28adb77ee6
commit
a857d57a87
@@ -67,7 +67,7 @@ func (t *ICETransport) GetSelectedCandidatePair() (*ICECandidatePair, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return &ICECandidatePair{Local: &local, Remote: &remote}, nil
|
||||
return NewICECandidatePair(&local, &remote), nil
|
||||
}
|
||||
|
||||
// NewICETransport creates a new NewICETransport.
|
||||
|
Reference in New Issue
Block a user