Skip to content

Commit 501f2b1

Browse files
renovate[bot]Sean-Der
authored andcommitted
Start pion/turn@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.
1 parent 3663aa1 commit 501f2b1

40 files changed

+73
-72
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<a href="https://github.com/pion/awesome-pion" alt="Awesome Pion"><img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg"></a>
1212
<br>
1313
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/pion/turn/test.yaml">
14-
<a href="https://pkg.go.dev/github.com/pion/turn/v2"><img src="https://pkg.go.dev/badge/github.com/pion/turn/v2.svg" alt="Go Reference"></a>
14+
<a href="https://pkg.go.dev/github.com/pion/turn/v3"><img src="https://pkg.go.dev/badge/github.com/pion/turn/v3.svg" alt="Go Reference"></a>
1515
<a href="https://codecov.io/gh/pion/turn"><img src="https://codecov.io/gh/pion/turn/branch/master/graph/badge.svg" alt="Coverage Status"></a>
16-
<a href="https://goreportcard.com/report/github.com/pion/turn/v2"><img src="https://goreportcard.com/badge/github.com/pion/turn/v2" alt="Go Report Card"></a>
16+
<a href="https://goreportcard.com/report/github.com/pion/turn/v3"><img src="https://goreportcard.com/badge/github.com/pion/turn/v3" alt="Go Report Card"></a>
1717
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
1818
</p>
1919
<br>

client.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313

1414
"github.com/pion/logging"
1515
"github.com/pion/stun"
16-
"github.com/pion/transport/v2"
17-
"github.com/pion/transport/v2/stdnet"
18-
"github.com/pion/turn/v2/internal/client"
19-
"github.com/pion/turn/v2/internal/proto"
16+
"github.com/pion/transport/v3"
17+
"github.com/pion/transport/v3/stdnet"
18+
"github.com/pion/turn/v3/internal/client"
19+
"github.com/pion/turn/v3/internal/proto"
2020
)
2121

2222
const (

client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
"github.com/pion/logging"
1515
"github.com/pion/stun"
16-
"github.com/pion/turn/v2/internal/proto"
16+
"github.com/pion/turn/v3/internal/proto"
1717
"github.com/stretchr/testify/assert"
1818
"github.com/stretchr/testify/require"
1919
)

examples/lt-cred-generator/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"os"
1313
"time"
1414

15-
"github.com/pion/turn/v2"
15+
"github.com/pion/turn/v3"
1616
)
1717

1818
// Outputs username & password according to the

examples/turn-client/tcp-alloc/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"strings"
1414

1515
"github.com/pion/logging"
16-
"github.com/pion/turn/v2"
16+
"github.com/pion/turn/v3"
1717
)
1818

1919
func setupSignalingChannel(addrCh chan string, signaling bool, relayAddr string) {

examples/turn-client/tcp/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"time"
1414

1515
"github.com/pion/logging"
16-
"github.com/pion/turn/v2"
16+
"github.com/pion/turn/v3"
1717
)
1818

1919
func main() {

examples/turn-client/udp/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"time"
1414

1515
"github.com/pion/logging"
16-
"github.com/pion/turn/v2"
16+
"github.com/pion/turn/v3"
1717
)
1818

1919
func main() {

examples/turn-server/add-software-attribute/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"syscall"
1717

1818
"github.com/pion/stun"
19-
"github.com/pion/turn/v2"
19+
"github.com/pion/turn/v3"
2020
)
2121

2222
// attributeAdder wraps a PacketConn and appends the SOFTWARE attribute to STUN packets

examples/turn-server/log/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"syscall"
1717

1818
"github.com/pion/stun"
19-
"github.com/pion/turn/v2"
19+
"github.com/pion/turn/v3"
2020
)
2121

2222
// stunLogger wraps a PacketConn and prints incoming/outgoing STUN packets

examples/turn-server/lt-cred/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"syscall"
1919

2020
"github.com/pion/logging"
21-
"github.com/pion/turn/v2"
21+
"github.com/pion/turn/v3"
2222
)
2323

2424
func main() {

examples/turn-server/perm-filter/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"strings"
1919
"syscall"
2020

21-
"github.com/pion/turn/v2"
21+
"github.com/pion/turn/v3"
2222
)
2323

2424
func main() {

examples/turn-server/port-range/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"strconv"
1616
"syscall"
1717

18-
"github.com/pion/turn/v2"
18+
"github.com/pion/turn/v3"
1919
)
2020

2121
func main() {

examples/turn-server/simple-multithreaded/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"strconv"
1818
"syscall"
1919

20-
"github.com/pion/turn/v2"
20+
"github.com/pion/turn/v3"
2121
"golang.org/x/sys/unix"
2222
)
2323

examples/turn-server/simple/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"strconv"
1515
"syscall"
1616

17-
"github.com/pion/turn/v2"
17+
"github.com/pion/turn/v3"
1818
)
1919

2020
func main() {

examples/turn-server/tcp/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"strconv"
1515
"syscall"
1616

17-
"github.com/pion/turn/v2"
17+
"github.com/pion/turn/v3"
1818
)
1919

2020
func main() {

examples/turn-server/tls/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"strconv"
1616
"syscall"
1717

18-
"github.com/pion/turn/v2"
18+
"github.com/pion/turn/v3"
1919
)
2020

2121
func main() {

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
module github.com/pion/turn/v2
1+
module github.com/pion/turn/v3
22

33
go 1.13
44

55
require (
66
github.com/pion/logging v0.2.2
77
github.com/pion/randutil v0.1.0
88
github.com/pion/stun v0.6.1
9-
github.com/pion/transport/v2 v2.2.2
9+
github.com/pion/transport/v3 v3.0.0
1010
github.com/stretchr/testify v1.8.4
11-
golang.org/x/sys v0.10.0
11+
golang.org/x/sys v0.11.0
1212
)

go.sum

+11-10
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA=
99
github.com/pion/randutil v0.1.0/go.mod h1:XcJrSMMbbMRhASFVOlj/5hQial/Y8oH/HVo7TBZq+j8=
1010
github.com/pion/stun v0.6.1 h1:8lp6YejULeHBF8NmV8e2787BogQhduZugh5PdhDyyN4=
1111
github.com/pion/stun v0.6.1/go.mod h1:/hO7APkX4hZKu/D0f2lHzNyvdkTGtIy3NDmLR7kSz/8=
12+
github.com/pion/transport/v2 v2.2.1 h1:7qYnCBlpgSJNYMbLCKuSY9KbQdBFoETvPNETv0y4N7c=
1213
github.com/pion/transport/v2 v2.2.1/go.mod h1:cXXWavvCnFF6McHTft3DWS9iic2Mftcz1Aq29pGcU5g=
13-
github.com/pion/transport/v2 v2.2.2 h1:yv+EKSU2dpmInuCebQ1rsBFCYL7p+aV90xIlshSBO+A=
14-
github.com/pion/transport/v2 v2.2.2/go.mod h1:OJg3ojoBJopjEeECq2yJdXH9YVrUJ1uQ++NjXLOUorc=
14+
github.com/pion/transport/v3 v3.0.0 h1:xNe+VCuPjpilJH5t7qMSAte7B1N3V1FbtIsDJW3YYsk=
15+
github.com/pion/transport/v3 v3.0.0/go.mod h1:UY7kiITrlMv7/IKgd5eTUcaahZx5oUN3l9SzK5f5xE0=
1516
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1617
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
1718
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -26,8 +27,8 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t
2627
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
2728
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
2829
golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE=
29-
golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA=
30-
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
30+
golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk=
31+
golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw=
3132
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
3233
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
3334
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
@@ -36,8 +37,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug
3637
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
3738
golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
3839
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
39-
golang.org/x/net v0.13.0 h1:Nvo8UFsZ8X3BhAC9699Z1j7XQ3rsZnUUm7jfBEk1ueY=
40-
golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
40+
golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14=
41+
golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
4142
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
4243
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
4344
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -49,20 +50,20 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
4950
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
5051
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
5152
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
52-
golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA=
53-
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
53+
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
54+
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
5455
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
5556
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
5657
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
5758
golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
5859
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
59-
golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
60+
golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU=
6061
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
6162
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
6263
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
6364
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
6465
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
65-
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
66+
golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
6667
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
6768
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
6869
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=

internal/allocation/allocation.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212

1313
"github.com/pion/logging"
1414
"github.com/pion/stun"
15-
"github.com/pion/turn/v2/internal/ipnet"
16-
"github.com/pion/turn/v2/internal/proto"
15+
"github.com/pion/turn/v3/internal/ipnet"
16+
"github.com/pion/turn/v3/internal/proto"
1717
)
1818

1919
type allocationResponse struct {

internal/allocation/allocation_manager_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"time"
1616

1717
"github.com/pion/logging"
18-
"github.com/pion/turn/v2/internal/proto"
18+
"github.com/pion/turn/v3/internal/proto"
1919
"github.com/stretchr/testify/assert"
2020
)
2121

internal/allocation/allocation_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"time"
1515

1616
"github.com/pion/stun"
17-
"github.com/pion/turn/v2/internal/ipnet"
18-
"github.com/pion/turn/v2/internal/proto"
17+
"github.com/pion/turn/v3/internal/ipnet"
18+
"github.com/pion/turn/v3/internal/proto"
1919
"github.com/stretchr/testify/assert"
2020
)
2121

internal/allocation/channel_bind.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"time"
99

1010
"github.com/pion/logging"
11-
"github.com/pion/turn/v2/internal/proto"
11+
"github.com/pion/turn/v3/internal/proto"
1212
)
1313

1414
// ChannelBind represents a TURN Channel

internal/allocation/channel_bind_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/pion/turn/v2/internal/proto"
11+
"github.com/pion/turn/v3/internal/proto"
1212
)
1313

1414
func TestChannelBind(t *testing.T) {

internal/client/allocation.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212

1313
"github.com/pion/logging"
1414
"github.com/pion/stun"
15-
"github.com/pion/transport/v2"
16-
"github.com/pion/turn/v2/internal/proto"
15+
"github.com/pion/transport/v3"
16+
"github.com/pion/turn/v3/internal/proto"
1717
)
1818

1919
// AllocationConfig is a set of configuration params use by NewUDPConn and NewTCPAllocation

internal/client/permission.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"sync"
99
"sync/atomic"
1010

11-
"github.com/pion/turn/v2/internal/ipnet"
11+
"github.com/pion/turn/v3/internal/ipnet"
1212
)
1313

1414
type permState int32

internal/client/tcp_alloc.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"time"
1313

1414
"github.com/pion/stun"
15-
"github.com/pion/transport/v2"
16-
"github.com/pion/turn/v2/internal/proto"
15+
"github.com/pion/transport/v3"
16+
"github.com/pion/turn/v3/internal/proto"
1717
)
1818

1919
var (

internal/client/tcp_conn.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"errors"
88
"net"
99

10-
"github.com/pion/transport/v2"
11-
"github.com/pion/turn/v2/internal/proto"
10+
"github.com/pion/transport/v3"
11+
"github.com/pion/turn/v3/internal/proto"
1212
)
1313

1414
var (

internal/client/tcp_conn_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010

1111
"github.com/pion/logging"
1212
"github.com/pion/stun"
13-
"github.com/pion/transport/v2"
14-
"github.com/pion/turn/v2/internal/proto"
13+
"github.com/pion/transport/v3"
14+
"github.com/pion/turn/v3/internal/proto"
1515
"github.com/stretchr/testify/assert"
1616
)
1717

internal/client/udp_conn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"time"
1414

1515
"github.com/pion/stun"
16-
"github.com/pion/turn/v2/internal/proto"
16+
"github.com/pion/turn/v3/internal/proto"
1717
)
1818

1919
const (

internal/server/server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212

1313
"github.com/pion/logging"
1414
"github.com/pion/stun"
15-
"github.com/pion/turn/v2/internal/allocation"
16-
"github.com/pion/turn/v2/internal/proto"
15+
"github.com/pion/turn/v3/internal/allocation"
16+
"github.com/pion/turn/v3/internal/proto"
1717
)
1818

1919
// Request contains all the state needed to process a single incoming datagram

internal/server/stun.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package server
55

66
import (
77
"github.com/pion/stun"
8-
"github.com/pion/turn/v2/internal/ipnet"
8+
"github.com/pion/turn/v3/internal/ipnet"
99
)
1010

1111
func handleBindingRequest(r Request, m *stun.Message) error {

internal/server/turn.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"net"
99

1010
"github.com/pion/stun"
11-
"github.com/pion/turn/v2/internal/allocation"
12-
"github.com/pion/turn/v2/internal/ipnet"
13-
"github.com/pion/turn/v2/internal/proto"
11+
"github.com/pion/turn/v3/internal/allocation"
12+
"github.com/pion/turn/v3/internal/ipnet"
13+
"github.com/pion/turn/v3/internal/proto"
1414
)
1515

1616
// See: https://tools.ietf.org/html/rfc5766#section-6.2

internal/server/turn_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414

1515
"github.com/pion/logging"
1616
"github.com/pion/stun"
17-
"github.com/pion/turn/v2/internal/allocation"
18-
"github.com/pion/turn/v2/internal/proto"
17+
"github.com/pion/turn/v3/internal/allocation"
18+
"github.com/pion/turn/v3/internal/proto"
1919
"github.com/stretchr/testify/assert"
2020
)
2121

internal/server/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"time"
1515

1616
"github.com/pion/stun"
17-
"github.com/pion/turn/v2/internal/proto"
17+
"github.com/pion/turn/v3/internal/proto"
1818
)
1919

2020
const (

0 commit comments

Comments
 (0)