Skip to content

Commit

Permalink
Update module github.com/pion/stun to v2
Browse files Browse the repository at this point in the history
Generated by renovateBot
  • Loading branch information
renovate[bot] authored and Sean-Der committed Sep 8, 2023
1 parent 817032b commit 8d69e9e
Show file tree
Hide file tree
Showing 32 changed files with 36 additions and 37 deletions.
2 changes: 1 addition & 1 deletion agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
stunx "github.com/pion/ice/v3/internal/stun"
"github.com/pion/logging"
"github.com/pion/mdns"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3"
"github.com/pion/transport/v3/packetio"
"github.com/pion/transport/v3/stdnet"
Expand Down
2 changes: 1 addition & 1 deletion agent_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3"
"golang.org/x/net/proxy"
)
Expand Down
2 changes: 1 addition & 1 deletion agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (

"github.com/pion/ice/v3/internal/fakenet"
"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/pion/transport/v3/vnet"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion candidate_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"sync/atomic"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

type candidateBase struct {
Expand Down
2 changes: 1 addition & 1 deletion candidate_relay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/pion/turn/v3"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion candidate_server_reflexive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/pion/turn/v3"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion candidatepair.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ice
import (
"fmt"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

func newCandidatePair(local, remote Candidate, controlling bool) *CandidatePair {
Expand Down
2 changes: 1 addition & 1 deletion connectivity_vnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"time"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/pion/transport/v3/vnet"
"github.com/pion/turn/v3"
Expand Down
2 changes: 1 addition & 1 deletion gather.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"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/stun/v2"
"github.com/pion/turn/v3"
)

Expand Down
2 changes: 1 addition & 1 deletion gather_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/pion/dtls/v2"
"github.com/pion/dtls/v2/pkg/crypto/selfsign"
"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/pion/turn/v3"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion gather_vnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"testing"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/pion/transport/v3/vnet"
"github.com/stretchr/testify/assert"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ require (
github.com/pion/logging v0.2.2
github.com/pion/mdns v0.0.8
github.com/pion/randutil v0.1.0
github.com/pion/stun v0.6.1
github.com/pion/stun/v2 v2.0.0
github.com/pion/transport/v3 v3.0.1
github.com/pion/turn/v3 v3.0.0
github.com/pion/turn/v3 v3.0.1
github.com/stretchr/testify v1.8.4
golang.org/x/net v0.14.0
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
Expand Down
9 changes: 4 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ github.com/pion/mdns v0.0.8 h1:HhicWIg7OX5PVilyBO6plhMetInbzkVJAhbdJiAeVaI=
github.com/pion/mdns v0.0.8/go.mod h1:hYE72WX8WDveIhg7fmXgMKivD3Puklk0Ymzog0lSyaI=
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/stun/v2 v2.0.0 h1:A5+wXKLAypxQri59+tmQKVs7+l6mMM+3d+eER9ifRU0=
github.com/pion/stun/v2 v2.0.0/go.mod h1:22qRSh08fSEttYUmJZGlriq9+03jtVmXNODgLccj8GQ=
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/v3 v3.0.0/go.mod h1:UY7kiITrlMv7/IKgd5eTUcaahZx5oUN3l9SzK5f5xE0=
github.com/pion/transport/v3 v3.0.1 h1:gDTlPJwROfSfz6QfSi0ZmeCSkFcnWWiiR9ES0ouANiM=
github.com/pion/transport/v3 v3.0.1/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/pion/turn/v3 v3.0.1 h1:wLi7BTQr6/Q20R0vt/lHbjv6y4GChFtC33nkYbasoT8=
github.com/pion/turn/v3 v3.0.1/go.mod h1:MrJDKgqryDyWy1/4NT9TWfXWGMC7UHT6pJIv1+gMeNE=
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=
Expand Down
2 changes: 1 addition & 1 deletion icecontrol.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ice
import (
"encoding/binary"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

// tiebreaker is common helper for ICE-{CONTROLLED,CONTROLLING}
Expand Down
2 changes: 1 addition & 1 deletion icecontrol_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"errors"
"testing"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

func TestControlled_GetFrom(t *testing.T) { //nolint:dupl
Expand Down
2 changes: 1 addition & 1 deletion internal/stun/stun.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion priority.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ice
import (
"encoding/binary"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

// PriorityAttr represents PRIORITY attribute.
Expand Down
2 changes: 1 addition & 1 deletion priority_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"errors"
"testing"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

func TestPriority_GetFrom(t *testing.T) { //nolint:dupl
Expand Down
2 changes: 1 addition & 1 deletion selection.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
)

type pairCandidateSelector interface {
Expand Down
2 changes: 1 addition & 1 deletion tcp_mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"sync"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
)

// ErrGetTransportAddress can't convert net.Addr to underlying type (UDPAddr or TCPAddr).
Expand Down
2 changes: 1 addition & 1 deletion tcp_mux_multi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion tcp_mux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync/atomic"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

// Dial connects to the remote agent, acting as the controlling ice agent.
Expand Down
2 changes: 1 addition & 1 deletion transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"testing"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
)

Expand Down
2 changes: 1 addition & 1 deletion transport_vnet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/pion/transport/v3/vnet"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion udp_mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"sync"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3"
"github.com/pion/transport/v3/stdnet"
)
Expand Down
2 changes: 1 addition & 1 deletion udp_mux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"testing"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3/test"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion udp_mux_universal.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/pion/logging"
"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/pion/transport/v3"
)

Expand Down
2 changes: 1 addition & 1 deletion udp_mux_universal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"testing"
"time"

"github.com/pion/stun"
"github.com/pion/stun/v2"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion url.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

package ice

import "github.com/pion/stun"
import "github.com/pion/stun/v2"

type (
// URL represents a STUN (rfc7064) or TURN (rfc7065) URI
Expand Down
2 changes: 1 addition & 1 deletion usecandidate.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

package ice

import "github.com/pion/stun"
import "github.com/pion/stun/v2"

// UseCandidateAttr represents USE-CANDIDATE attribute.
type UseCandidateAttr struct{}
Expand Down
2 changes: 1 addition & 1 deletion usecandidate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package ice
import (
"testing"

"github.com/pion/stun"
"github.com/pion/stun/v2"
)

func TestUseCandidateAttr_AddTo(t *testing.T) {
Expand Down

0 comments on commit 8d69e9e

Please sign in to comment.