Repository: pion/ice
Pull request #615 (2023-09-04 03:44:36)

Start pion/ice@v3
This is required to update pion/transport/v2 to v3

The public API of transport changed, and we expose transport as part of our public API.


codecov[bot]: ## [Codecov](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) Report
Patch has no changes to coverable lines.

> :exclamation: Current head 93c918b differs from pull request most recent head 4f54ebe. Consider uploading reports for the commit 4f54ebe to get more accurate results

| [Files Changed](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | Coverage |
|---|---|
| [active\_tcp.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-YWN0aXZlX3RjcC5nbw==) | `ø` |
| [agent.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-YWdlbnQuZ28=) | `ø` |
| [agent\_config.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-YWdlbnRfY29uZmlnLmdv) | `ø` |
| [gather.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-Z2F0aGVyLmdv) | `ø` |
| [mdns.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-bWRucy5nbw==) | `ø` |
| [net.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-bmV0Lmdv) | `ø` |
| [tcp\_packet\_conn.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-dGNwX3BhY2tldF9jb25uLmdv) | `ø` |
| [udp\_mux.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-dWRwX211eC5nbw==) | `ø` |
| [udp\_mux\_multi.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-dWRwX211eF9tdWx0aS5nbw==) | `ø` |
| [udp\_mux\_universal.go](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion#diff-dWRwX211eF91bml2ZXJzYWwuZ28=) | `ø` |
| ... and [1 more](https://app.codecov.io/gh/pion/ice/pull/615?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion) | |


:loudspeaker: Thoughts on this report? [Let us know!](https://about.codecov.io/pull-request-comment-report/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pion).


Patch:
diff --git a/AUTHORS.txt b/AUTHORS.txt
index 56269cc..30b95db 100644
--- a/AUTHORS.txt
+++ b/AUTHORS.txt
@@ -15,7 +15,6 @@ Artur Shellunts <shellunts.artur@gmail.com>
 Assad Obaid <assad@lap5cg901003r.se.axis.com>
 Atsushi Watanabe <atsushi.w@ieee.org>
 backkem <mail@backkem.me>
-boks1971 <raja.gobi@tutanota.com>
 buptczq <czq@qq.com>
 cgojin <gongjin21@hotmail.com>
 Chao Yuan <yuanchao0310@163.com>
@@ -48,6 +47,7 @@ Mikhail Bragin <misha@wiretrustee.com>
 Miroslav Šedivý <sedivy.miro@gmail.com>
 Nevio Vesic <nevio@subspace.com>
 Ori Bernstein <ori@eigenstate.org>
+Raja Subramanian <raja.gobi@tutanota.com>
 Rasmus Hanning <rasmus@hanning.se>
 Robert Eperjesi <eperjesi@uber.com>
 Sam Lancia <sam@gpsm.co.uk>
diff --git a/README.md b/README.md
index 111ca70..2ea0022 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@
   <a href="http://gophers.slack.com/messages/pion"><img src="https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen" alt="Slack Widget"></a>
   <br>
   <img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/pion/ice/test.yaml">
-  <a href="https://pkg.go.dev/github.com/pion/ice/v2"><img src="https://pkg.go.dev/badge/github.com/pion/ice/v2.svg" alt="Go Reference"></a>
+  <a href="https://pkg.go.dev/github.com/pion/ice/v3"><img src="https://pkg.go.dev/badge/github.com/pion/ice/v3.svg" alt="Go Reference"></a>
   <a href="https://codecov.io/gh/pion/ice"><img src="https://codecov.io/gh/pion/ice/branch/master/graph/badge.svg" alt="Coverage Status"></a>
   <a href="https://goreportcard.com/report/github.com/pion/ice"><img src="https://goreportcard.com/badge/github.com/pion/ice" alt="Go Report Card"></a>
   <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
diff --git a/active_tcp.go b/active_tcp.go
index 024e6e7..4ffcb6e 100644
--- a/active_tcp.go
+++ b/active_tcp.go
@@ -11,7 +11,7 @@ import (
 	"time"
 
 	"github.com/pion/logging"
-	"github.com/pion/transport/v2/packetio"
+	"github.com/pion/transport/v3/packetio"
 )
 
 type activeTCPConn struct {
diff --git a/agent.go b/agent.go
index 426df0b..6fb7ebb 100644
--- a/agent.go
+++ b/agent.go
@@ -15,15 +15,15 @@ import (
 	"sync/atomic"
 	"time"
 
-	atomicx "github.com/pion/ice/v2/internal/atomic"
-	stunx "github.com/pion/ice/v2/internal/stun"
+	atomicx "github.com/pion/ice/v3/internal/atomic"
+	stunx "github.com/pion/ice/v3/internal/stun"
 	"github.com/pion/logging"
 	"github.com/pion/mdns"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2"
-	"github.com/pion/transport/v2/packetio"
-	"github.com/pion/transport/v2/stdnet"
-	"github.com/pion/transport/v2/vnet"
+	"github.com/pion/transport/v3"
+	"github.com/pion/transport/v3/packetio"
+	"github.com/pion/transport/v3/stdnet"
+	"github.com/pion/transport/v3/vnet"
 	"golang.org/x/net/proxy"
 )
 
diff --git a/agent_config.go b/agent_config.go
index 9629fd5..ad90918 100644
--- a/agent_config.go
+++ b/agent_config.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2"
+	"github.com/pion/transport/v3"
 	"golang.org/x/net/proxy"
 )
 
diff --git a/examples/ping-pong/main.go b/examples/ping-pong/main.go
index 86f7bd1..1d9574d 100644
--- a/examples/ping-pong/main.go
+++ b/examples/ping-pong/main.go
@@ -14,7 +14,7 @@ import (
 	"os"
 	"time"
 
-	"github.com/pion/ice/v2"
+	"github.com/pion/ice/v3"
 	"github.com/pion/randutil"
 )
 
diff --git a/gather.go b/gather.go
index f93e6c1..cf7b65a 100644
--- a/gather.go
+++ b/gather.go
@@ -14,11 +14,11 @@ import (
 	"time"
 
 	"github.com/pion/dtls/v2"
-	"github.com/pion/ice/v2/internal/fakenet"
-	stunx "github.com/pion/ice/v2/internal/stun"
+	"github.com/pion/ice/v3/internal/fakenet"
+	stunx "github.com/pion/ice/v3/internal/stun"
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/turn/v2"
+	"github.com/pion/turn/v3"
 )
 
 const (
diff --git a/go.mod b/go.mod
index 9adf67c..13f8a54 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/pion/ice/v2
+module github.com/pion/ice/v3
 
 go 1.13
 
@@ -10,8 +10,8 @@ require (
 	github.com/pion/mdns v0.0.8
 	github.com/pion/randutil v0.1.0
 	github.com/pion/stun v0.6.1
-	github.com/pion/transport/v2 v2.2.2
-	github.com/pion/turn/v2 v2.1.3
+	github.com/pion/transport/v3 v3.0.0
+	github.com/pion/turn/v3 v3.0.0
 	github.com/stretchr/testify v1.8.4
 	golang.org/x/net v0.14.0
 	gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
diff --git a/go.sum b/go.sum
index 6ae48df..97caf0a 100644
--- a/go.sum
+++ b/go.sum
@@ -18,11 +18,12 @@ github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA=
 github.com/pion/randutil v0.1.0/go.mod h1:XcJrSMMbbMRhASFVOlj/5hQial/Y8oH/HVo7TBZq+j8=
 github.com/pion/stun v0.6.1 h1:8lp6YejULeHBF8NmV8e2787BogQhduZugh5PdhDyyN4=
 github.com/pion/stun v0.6.1/go.mod h1:/hO7APkX4hZKu/D0f2lHzNyvdkTGtIy3NDmLR7kSz/8=
+github.com/pion/transport/v2 v2.2.1 h1:7qYnCBlpgSJNYMbLCKuSY9KbQdBFoETvPNETv0y4N7c=
 github.com/pion/transport/v2 v2.2.1/go.mod h1:cXXWavvCnFF6McHTft3DWS9iic2Mftcz1Aq29pGcU5g=
-github.com/pion/transport/v2 v2.2.2 h1:yv+EKSU2dpmInuCebQ1rsBFCYL7p+aV90xIlshSBO+A=
-github.com/pion/transport/v2 v2.2.2/go.mod h1:OJg3ojoBJopjEeECq2yJdXH9YVrUJ1uQ++NjXLOUorc=
-github.com/pion/turn/v2 v2.1.3 h1:pYxTVWG2gpC97opdRc5IGsQ1lJ9O/IlNhkzj7MMrGAA=
-github.com/pion/turn/v2 v2.1.3/go.mod h1:huEpByKKHix2/b9kmTAM3YoX6MKP+/D//0ClgUYR2fY=
+github.com/pion/transport/v3 v3.0.0 h1:xNe+VCuPjpilJH5t7qMSAte7B1N3V1FbtIsDJW3YYsk=
+github.com/pion/transport/v3 v3.0.0/go.mod h1:UY7kiITrlMv7/IKgd5eTUcaahZx5oUN3l9SzK5f5xE0=
+github.com/pion/turn/v3 v3.0.0 h1:zafXa25ZWmiUYRi4JlnAsUhCDoFfF7YMYWnosvK5vBk=
+github.com/pion/turn/v3 v3.0.0/go.mod h1:z4ih3T0zTERgNSEJRa2QHBNcbB3SOtTYsr5LH0pil6Q=
 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -38,7 +39,6 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk
 golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
 golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE=
 golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I=
-golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
 golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk=
 golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw=
 golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
@@ -50,7 +50,6 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
 golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
 golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
 golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ=
-golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
 golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14=
 golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
 golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -65,7 +64,6 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
 golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
@@ -74,7 +72,6 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
 golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
 golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
 golang.org/x/term v0.9.0/go.mod h1:M6DEAAIenWoTxdKrOltXcmDY3rSplQUkrvaDU5FcQyo=
-golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
 golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU=
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
@@ -82,7 +79,6 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
 golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
 golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
 golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
-golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
 golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
 golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
diff --git a/mdns.go b/mdns.go
index aa82316..1fa52a7 100644
--- a/mdns.go
+++ b/mdns.go
@@ -7,7 +7,7 @@ import (
 	"github.com/google/uuid"
 	"github.com/pion/logging"
 	"github.com/pion/mdns"
-	"github.com/pion/transport/v2"
+	"github.com/pion/transport/v3"
 	"golang.org/x/net/ipv4"
 )
 
diff --git a/net.go b/net.go
index d716bc1..365745d 100644
--- a/net.go
+++ b/net.go
@@ -7,7 +7,7 @@ import (
 	"net"
 
 	"github.com/pion/logging"
-	"github.com/pion/transport/v2"
+	"github.com/pion/transport/v3"
 )
 
 // The conditions of invalidation written below are defined in
diff --git a/tcp_packet_conn.go b/tcp_packet_conn.go
index 8329cba..0b6d9d8 100644
--- a/tcp_packet_conn.go
+++ b/tcp_packet_conn.go
@@ -13,7 +13,7 @@ import (
 	"time"
 
 	"github.com/pion/logging"
-	"github.com/pion/transport/v2/packetio"
+	"github.com/pion/transport/v3/packetio"
 )
 
 type bufferedConn struct {
diff --git a/udp_mux.go b/udp_mux.go
index 47084f8..e9c906c 100644
--- a/udp_mux.go
+++ b/udp_mux.go
@@ -13,8 +13,8 @@ import (
 
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2"
-	"github.com/pion/transport/v2/stdnet"
+	"github.com/pion/transport/v3"
+	"github.com/pion/transport/v3/stdnet"
 )
 
 // UDPMux allows multiple connections to go over a single UDP port
diff --git a/udp_mux_multi.go b/udp_mux_multi.go
index 158cbc3..c46db9b 100644
--- a/udp_mux_multi.go
+++ b/udp_mux_multi.go
@@ -8,8 +8,8 @@ import (
 	"net"
 
 	"github.com/pion/logging"
-	"github.com/pion/transport/v2"
-	"github.com/pion/transport/v2/stdnet"
+	"github.com/pion/transport/v3"
+	"github.com/pion/transport/v3/stdnet"
 )
 
 // MultiUDPMuxDefault implements both UDPMux and AllConnsGetter,
diff --git a/udp_mux_universal.go b/udp_mux_universal.go
index 0a648af..4387193 100644
--- a/udp_mux_universal.go
+++ b/udp_mux_universal.go
@@ -10,7 +10,7 @@ import (
 
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2"
+	"github.com/pion/transport/v3"
 )
 
 // UniversalUDPMux allows multiple connections to go over a single UDP port for
diff --git a/udp_muxed_conn.go b/udp_muxed_conn.go
index 09e4b3a..e69c307 100644
--- a/udp_muxed_conn.go
+++ b/udp_muxed_conn.go
@@ -11,7 +11,7 @@ import (
 	"time"
 
 	"github.com/pion/logging"
-	"github.com/pion/transport/v2/packetio"
+	"github.com/pion/transport/v3/packetio"
 )
 
 type udpMuxedConnParams struct {


Test patch:
diff --git a/active_tcp_test.go b/active_tcp_test.go
index 730db90..e2f2752 100644
--- a/active_tcp_test.go
+++ b/active_tcp_test.go
@@ -12,8 +12,8 @@ import (
 	"time"
 
 	"github.com/pion/logging"
-	"github.com/pion/transport/v2/stdnet"
-	"github.com/pion/transport/v2/test"
+	"github.com/pion/transport/v3/stdnet"
+	"github.com/pion/transport/v3/test"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 )
diff --git a/agent_test.go b/agent_test.go
index d41dc36..983c808 100644
--- a/agent_test.go
+++ b/agent_test.go
@@ -15,11 +15,11 @@ import (
 	"testing"
 	"time"
 
-	"github.com/pion/ice/v2/internal/fakenet"
+	"github.com/pion/ice/v3/internal/fakenet"
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
-	"github.com/pion/transport/v2/vnet"
+	"github.com/pion/transport/v3/test"
+	"github.com/pion/transport/v3/vnet"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 )
diff --git a/agent_udpmux_test.go b/agent_udpmux_test.go
index ef95d35..6050ccd 100644
--- a/agent_udpmux_test.go
+++ b/agent_udpmux_test.go
@@ -12,7 +12,7 @@ import (
 	"time"
 
 	"github.com/pion/logging"
-	"github.com/pion/transport/v2/test"
+	"github.com/pion/transport/v3/test"
 	"github.com/stretchr/testify/require"
 )
 
diff --git a/candidate_relay_test.go b/candidate_relay_test.go
index 870f76a..a40c398 100644
--- a/candidate_relay_test.go
+++ b/candidate_relay_test.go
@@ -13,8 +13,8 @@ import (
 	"time"
 
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
-	"github.com/pion/turn/v2"
+	"github.com/pion/transport/v3/test"
+	"github.com/pion/turn/v3"
 	"github.com/stretchr/testify/assert"
 )
 
diff --git a/candidate_server_reflexive_test.go b/candidate_server_reflexive_test.go
index 953d84a..d2ea53b 100644
--- a/candidate_server_reflexive_test.go
+++ b/candidate_server_reflexive_test.go
@@ -13,8 +13,8 @@ import (
 	"time"
 
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
-	"github.com/pion/turn/v2"
+	"github.com/pion/transport/v3/test"
+	"github.com/pion/turn/v3"
 	"github.com/stretchr/testify/assert"
 )
 
diff --git a/connectivity_vnet_test.go b/connectivity_vnet_test.go
index b8f8dd3..ccacc5b 100644
--- a/connectivity_vnet_test.go
+++ b/connectivity_vnet_test.go
@@ -16,9 +16,9 @@ import (
 
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
-	"github.com/pion/transport/v2/vnet"
-	"github.com/pion/turn/v2"
+	"github.com/pion/transport/v3/test"
+	"github.com/pion/transport/v3/vnet"
+	"github.com/pion/turn/v3"
 	"github.com/stretchr/testify/assert"
 )
 
diff --git a/gather_test.go b/gather_test.go
index ecafd50..32af2ea 100644
--- a/gather_test.go
+++ b/gather_test.go
@@ -24,8 +24,8 @@ import (
 	"github.com/pion/dtls/v2/pkg/crypto/selfsign"
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
-	"github.com/pion/turn/v2"
+	"github.com/pion/transport/v3/test"
+	"github.com/pion/turn/v3"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 	"golang.org/x/net/proxy"
diff --git a/gather_vnet_test.go b/gather_vnet_test.go
index 3f344bd..e4040ee 100644
--- a/gather_vnet_test.go
+++ b/gather_vnet_test.go
@@ -15,8 +15,8 @@ import (
 
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
-	"github.com/pion/transport/v2/vnet"
+	"github.com/pion/transport/v3/test"
+	"github.com/pion/transport/v3/vnet"
 	"github.com/stretchr/testify/assert"
 )
 
diff --git a/mdns_test.go b/mdns_test.go
index 3076b1f..7cab077 100644
--- a/mdns_test.go
+++ b/mdns_test.go
@@ -12,7 +12,7 @@ import (
 	"testing"
 	"time"
 
-	"github.com/pion/transport/v2/test"
+	"github.com/pion/transport/v3/test"
 	"github.com/stretchr/testify/assert"
 )
 
diff --git a/tcp_mux_multi_test.go b/tcp_mux_multi_test.go
index 68e0fb7..f394273 100644
--- a/tcp_mux_multi_test.go
+++ b/tcp_mux_multi_test.go
@@ -13,7 +13,7 @@ import (
 
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
+	"github.com/pion/transport/v3/test"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 )
diff --git a/tcp_mux_test.go b/tcp_mux_test.go
index 7511687..7a7cab0 100644
--- a/tcp_mux_test.go
+++ b/tcp_mux_test.go
@@ -10,7 +10,7 @@ import (
 
 	"github.com/pion/logging"
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
+	"github.com/pion/transport/v3/test"
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 )
diff --git a/transport_test.go b/transport_test.go
index c9861a7..16011d1 100644
--- a/transport_test.go
+++ b/transport_test.go
@@ -14,7 +14,7 @@ import (
 	"time"
 
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
+	"github.com/pion/transport/v3/test"
 )
 
 func TestStressDuplex(t *testing.T) {
diff --git a/transport_vnet_test.go b/transport_vnet_test.go
index 976cf73..07fda4d 100644
--- a/transport_vnet_test.go
+++ b/transport_vnet_test.go
@@ -13,8 +13,8 @@ import (
 	"time"
 
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
-	"github.com/pion/transport/v2/vnet"
+	"github.com/pion/transport/v3/test"
+	"github.com/pion/transport/v3/vnet"
 	"github.com/stretchr/testify/assert"
 )
 
diff --git a/udp_mux_multi_test.go b/udp_mux_multi_test.go
index f37617d..a38702c 100644
--- a/udp_mux_multi_test.go
+++ b/udp_mux_multi_test.go
@@ -13,7 +13,7 @@ import (
 	"testing"
 	"time"
 
-	"github.com/pion/transport/v2/test"
+	"github.com/pion/transport/v3/test"
 	"github.com/stretchr/testify/require"
 )
 
diff --git a/udp_mux_test.go b/udp_mux_test.go
index cec38d3..07a78fc 100644
--- a/udp_mux_test.go
+++ b/udp_mux_test.go
@@ -16,7 +16,7 @@ import (
 	"time"
 
 	"github.com/pion/stun"
-	"github.com/pion/transport/v2/test"
+	"github.com/pion/transport/v3/test"
 	"github.com/stretchr/testify/require"
 )