From 963f7d169d681a2f1d8e726110a45ed57f373be8 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Tue, 29 Oct 2024 16:14:46 +0100 Subject: [PATCH] Use api.NewPeerConnection in RelayTest. --- ice/ice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ice/ice.go b/ice/ice.go index e299b54..de8f511 100644 --- a/ice/ice.go +++ b/ice/ice.go @@ -167,7 +167,7 @@ func RelayTest(timeout time.Duration) (time.Duration, error) { return 0, err } defer pc1.Close() - pc2, err := webrtc.NewPeerConnection(*conf) + pc2, err := api.NewPeerConnection(*conf) if err != nil { return 0, err }