Skip to content

Commit d21edf9

Browse files
renovate[bot]Sean-Der
authored andcommitted
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.
1 parent c62fd28 commit d21edf9

30 files changed

+55
-59
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<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>
1010
<br>
1111
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/pion/ice/test.yaml">
12-
<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>
12+
<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>
1313
<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>
1414
<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>
1515
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>

active_tcp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212

1313
"github.com/pion/logging"
14-
"github.com/pion/transport/v2/packetio"
14+
"github.com/pion/transport/v3/packetio"
1515
)
1616

1717
type activeTCPConn struct {

active_tcp_test.go

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

1414
"github.com/pion/logging"
15-
"github.com/pion/transport/v2/stdnet"
16-
"github.com/pion/transport/v2/test"
15+
"github.com/pion/transport/v3/stdnet"
16+
"github.com/pion/transport/v3/test"
1717
"github.com/stretchr/testify/assert"
1818
"github.com/stretchr/testify/require"
1919
)

agent.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ import (
1515
"sync/atomic"
1616
"time"
1717

18-
atomicx "github.com/pion/ice/v2/internal/atomic"
19-
stunx "github.com/pion/ice/v2/internal/stun"
18+
atomicx "github.com/pion/ice/v3/internal/atomic"
19+
stunx "github.com/pion/ice/v3/internal/stun"
2020
"github.com/pion/logging"
2121
"github.com/pion/mdns"
2222
"github.com/pion/stun"
23-
"github.com/pion/transport/v2"
24-
"github.com/pion/transport/v2/packetio"
25-
"github.com/pion/transport/v2/stdnet"
26-
"github.com/pion/transport/v2/vnet"
23+
"github.com/pion/transport/v3"
24+
"github.com/pion/transport/v3/packetio"
25+
"github.com/pion/transport/v3/stdnet"
26+
"github.com/pion/transport/v3/vnet"
2727
"golang.org/x/net/proxy"
2828
)
2929

agent_config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/pion/logging"
1111
"github.com/pion/stun"
12-
"github.com/pion/transport/v2"
12+
"github.com/pion/transport/v3"
1313
"golang.org/x/net/proxy"
1414
)
1515

agent_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ import (
1515
"testing"
1616
"time"
1717

18-
"github.com/pion/ice/v2/internal/fakenet"
18+
"github.com/pion/ice/v3/internal/fakenet"
1919
"github.com/pion/logging"
2020
"github.com/pion/stun"
21-
"github.com/pion/transport/v2/test"
22-
"github.com/pion/transport/v2/vnet"
21+
"github.com/pion/transport/v3/test"
22+
"github.com/pion/transport/v3/vnet"
2323
"github.com/stretchr/testify/assert"
2424
"github.com/stretchr/testify/require"
2525
)

agent_udpmux_test.go

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

1414
"github.com/pion/logging"
15-
"github.com/pion/transport/v2/test"
15+
"github.com/pion/transport/v3/test"
1616
"github.com/stretchr/testify/require"
1717
)
1818

candidate_relay_test.go

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

1515
"github.com/pion/stun"
16-
"github.com/pion/transport/v2/test"
17-
"github.com/pion/turn/v2"
16+
"github.com/pion/transport/v3/test"
17+
"github.com/pion/turn/v3"
1818
"github.com/stretchr/testify/assert"
1919
)
2020

candidate_server_reflexive_test.go

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

1515
"github.com/pion/stun"
16-
"github.com/pion/transport/v2/test"
17-
"github.com/pion/turn/v2"
16+
"github.com/pion/transport/v3/test"
17+
"github.com/pion/turn/v3"
1818
"github.com/stretchr/testify/assert"
1919
)
2020

connectivity_vnet_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import (
1616

1717
"github.com/pion/logging"
1818
"github.com/pion/stun"
19-
"github.com/pion/transport/v2/test"
20-
"github.com/pion/transport/v2/vnet"
21-
"github.com/pion/turn/v2"
19+
"github.com/pion/transport/v3/test"
20+
"github.com/pion/transport/v3/vnet"
21+
"github.com/pion/turn/v3"
2222
"github.com/stretchr/testify/assert"
2323
)
2424

examples/ping-pong/main.go

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

17-
"github.com/pion/ice/v2"
17+
"github.com/pion/ice/v3"
1818
"github.com/pion/randutil"
1919
)
2020

gather.go

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

1616
"github.com/pion/dtls/v2"
17-
"github.com/pion/ice/v2/internal/fakenet"
18-
stunx "github.com/pion/ice/v2/internal/stun"
17+
"github.com/pion/ice/v3/internal/fakenet"
18+
stunx "github.com/pion/ice/v3/internal/stun"
1919
"github.com/pion/logging"
2020
"github.com/pion/stun"
21-
"github.com/pion/turn/v2"
21+
"github.com/pion/turn/v3"
2222
)
2323

2424
const (

gather_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import (
2424
"github.com/pion/dtls/v2/pkg/crypto/selfsign"
2525
"github.com/pion/logging"
2626
"github.com/pion/stun"
27-
"github.com/pion/transport/v2/test"
28-
"github.com/pion/turn/v2"
27+
"github.com/pion/transport/v3/test"
28+
"github.com/pion/turn/v3"
2929
"github.com/stretchr/testify/assert"
3030
"github.com/stretchr/testify/require"
3131
"golang.org/x/net/proxy"

gather_vnet_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515

1616
"github.com/pion/logging"
1717
"github.com/pion/stun"
18-
"github.com/pion/transport/v2/test"
19-
"github.com/pion/transport/v2/vnet"
18+
"github.com/pion/transport/v3/test"
19+
"github.com/pion/transport/v3/vnet"
2020
"github.com/stretchr/testify/assert"
2121
)
2222

go.mod

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

33
go 1.13
44

@@ -10,8 +10,8 @@ require (
1010
github.com/pion/mdns v0.0.8
1111
github.com/pion/randutil v0.1.0
1212
github.com/pion/stun v0.6.1
13-
github.com/pion/transport/v2 v2.2.2
14-
github.com/pion/turn/v2 v2.1.3
13+
github.com/pion/transport/v3 v3.0.0
14+
github.com/pion/turn/v3 v3.0.0
1515
github.com/stretchr/testify v1.8.4
1616
golang.org/x/net v0.14.0
1717
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect

go.sum

+5-9
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ github.com/pion/randutil v0.1.0 h1:CFG1UdESneORglEsnimhUjf33Rwjubwj6xfiOXBa3mA=
1818
github.com/pion/randutil v0.1.0/go.mod h1:XcJrSMMbbMRhASFVOlj/5hQial/Y8oH/HVo7TBZq+j8=
1919
github.com/pion/stun v0.6.1 h1:8lp6YejULeHBF8NmV8e2787BogQhduZugh5PdhDyyN4=
2020
github.com/pion/stun v0.6.1/go.mod h1:/hO7APkX4hZKu/D0f2lHzNyvdkTGtIy3NDmLR7kSz/8=
21+
github.com/pion/transport/v2 v2.2.1 h1:7qYnCBlpgSJNYMbLCKuSY9KbQdBFoETvPNETv0y4N7c=
2122
github.com/pion/transport/v2 v2.2.1/go.mod h1:cXXWavvCnFF6McHTft3DWS9iic2Mftcz1Aq29pGcU5g=
22-
github.com/pion/transport/v2 v2.2.2 h1:yv+EKSU2dpmInuCebQ1rsBFCYL7p+aV90xIlshSBO+A=
23-
github.com/pion/transport/v2 v2.2.2/go.mod h1:OJg3ojoBJopjEeECq2yJdXH9YVrUJ1uQ++NjXLOUorc=
24-
github.com/pion/turn/v2 v2.1.3 h1:pYxTVWG2gpC97opdRc5IGsQ1lJ9O/IlNhkzj7MMrGAA=
25-
github.com/pion/turn/v2 v2.1.3/go.mod h1:huEpByKKHix2/b9kmTAM3YoX6MKP+/D//0ClgUYR2fY=
23+
github.com/pion/transport/v3 v3.0.0 h1:xNe+VCuPjpilJH5t7qMSAte7B1N3V1FbtIsDJW3YYsk=
24+
github.com/pion/transport/v3 v3.0.0/go.mod h1:UY7kiITrlMv7/IKgd5eTUcaahZx5oUN3l9SzK5f5xE0=
25+
github.com/pion/turn/v3 v3.0.0 h1:zafXa25ZWmiUYRi4JlnAsUhCDoFfF7YMYWnosvK5vBk=
26+
github.com/pion/turn/v3 v3.0.0/go.mod h1:z4ih3T0zTERgNSEJRa2QHBNcbB3SOtTYsr5LH0pil6Q=
2627
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
2728
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2829
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
3839
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
3940
golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE=
4041
golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I=
41-
golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
4242
golang.org/x/crypto v0.12.0 h1:tFM/ta59kqch6LlvYnPa0yx5a83cL2nHflFhYKvv9Yk=
4343
golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw=
4444
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=
5050
golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
5151
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
5252
golang.org/x/net v0.11.0/go.mod h1:2L/ixqYpgIVXmeoSA/4Lu7BzTG4KIyPIryS4IsOd1oQ=
53-
golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
5453
golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14=
5554
golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
5655
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=
6564
golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6665
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6766
golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
68-
golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
6967
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
7068
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7169
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
@@ -74,15 +72,13 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
7472
golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
7573
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
7674
golang.org/x/term v0.9.0/go.mod h1:M6DEAAIenWoTxdKrOltXcmDY3rSplQUkrvaDU5FcQyo=
77-
golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
7875
golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU=
7976
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
8077
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
8178
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
8279
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
8380
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
8481
golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
85-
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
8682
golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
8783
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
8884
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=

mdns.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/google/uuid"
88
"github.com/pion/logging"
99
"github.com/pion/mdns"
10-
"github.com/pion/transport/v2"
10+
"github.com/pion/transport/v3"
1111
"golang.org/x/net/ipv4"
1212
)
1313

mdns_test.go

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

15-
"github.com/pion/transport/v2/test"
15+
"github.com/pion/transport/v3/test"
1616
"github.com/stretchr/testify/assert"
1717
)
1818

net.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net"
88

99
"github.com/pion/logging"
10-
"github.com/pion/transport/v2"
10+
"github.com/pion/transport/v3"
1111
)
1212

1313
// The conditions of invalidation written below are defined in

tcp_mux_multi_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/transport/v2/test"
16+
"github.com/pion/transport/v3/test"
1717
"github.com/stretchr/testify/assert"
1818
"github.com/stretchr/testify/require"
1919
)

tcp_mux_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"github.com/pion/logging"
1212
"github.com/pion/stun"
13-
"github.com/pion/transport/v2/test"
13+
"github.com/pion/transport/v3/test"
1414
"github.com/stretchr/testify/assert"
1515
"github.com/stretchr/testify/require"
1616
)

tcp_packet_conn.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/transport/v2/packetio"
16+
"github.com/pion/transport/v3/packetio"
1717
)
1818

1919
type bufferedConn struct {

transport_test.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/transport/v2/test"
17+
"github.com/pion/transport/v3/test"
1818
)
1919

2020
func TestStressDuplex(t *testing.T) {

transport_vnet_test.go

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

1515
"github.com/pion/stun"
16-
"github.com/pion/transport/v2/test"
17-
"github.com/pion/transport/v2/vnet"
16+
"github.com/pion/transport/v3/test"
17+
"github.com/pion/transport/v3/vnet"
1818
"github.com/stretchr/testify/assert"
1919
)
2020

udp_mux.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ 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"
16+
"github.com/pion/transport/v3"
17+
"github.com/pion/transport/v3/stdnet"
1818
)
1919

2020
// UDPMux allows multiple connections to go over a single UDP port

udp_mux_multi.go

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

1010
"github.com/pion/logging"
11-
"github.com/pion/transport/v2"
12-
"github.com/pion/transport/v2/stdnet"
11+
"github.com/pion/transport/v3"
12+
"github.com/pion/transport/v3/stdnet"
1313
)
1414

1515
// MultiUDPMuxDefault implements both UDPMux and AllConnsGetter,

udp_mux_multi_test.go

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

16-
"github.com/pion/transport/v2/test"
16+
"github.com/pion/transport/v3/test"
1717
"github.com/stretchr/testify/require"
1818
)
1919

udp_mux_test.go

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

1818
"github.com/pion/stun"
19-
"github.com/pion/transport/v2/test"
19+
"github.com/pion/transport/v3/test"
2020
"github.com/stretchr/testify/require"
2121
)
2222

udp_mux_universal.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"github.com/pion/logging"
1212
"github.com/pion/stun"
13-
"github.com/pion/transport/v2"
13+
"github.com/pion/transport/v3"
1414
)
1515

1616
// UniversalUDPMux allows multiple connections to go over a single UDP port for

udp_muxed_conn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"time"
1212

1313
"github.com/pion/logging"
14-
"github.com/pion/transport/v2/packetio"
14+
"github.com/pion/transport/v3/packetio"
1515
)
1616

1717
type udpMuxedConnParams struct {

0 commit comments

Comments
 (0)