Skip to content

Commit

Permalink
Update module github.com/pion/transport to v2
Browse files Browse the repository at this point in the history
Generated by renovateBot
  • Loading branch information
renovate[bot] authored and stv0g committed Jan 31, 2023
1 parent 9c556d9 commit e966eef
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package srtp
import (
"fmt"

"github.com/pion/transport/replaydetector"
"github.com/pion/transport/v2/replaydetector"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package srtp
import (
"crypto/cipher"

"github.com/pion/transport/utils/xor"
"github.com/pion/transport/v2/utils/xor"
)

// incrementCTR increments a big-endian integer of arbitrary size.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ require (
github.com/pion/logging v0.2.2
github.com/pion/rtcp v1.2.10
github.com/pion/rtp v1.7.13
github.com/pion/transport v0.14.1
github.com/pion/transport/v2 v2.0.0
github.com/stretchr/testify v1.8.1
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ github.com/pion/rtcp v1.2.10 h1:nkr3uj+8Sp97zyItdN60tE/S6vk4al5CPRR6Gejsdjc=
github.com/pion/rtcp v1.2.10/go.mod h1:ztfEwXZNLGyF1oQDttz/ZKIBaeeg/oWbRYqzBM9TL1I=
github.com/pion/rtp v1.7.13 h1:qcHwlmtiI50t1XivvoawdCGTP4Uiypzfrsap+bijcoA=
github.com/pion/rtp v1.7.13/go.mod h1:bDb5n+BFZxXx0Ea7E5qe+klMuqiBrP+w8XSjiWtCUko=
github.com/pion/transport v0.14.1 h1:XSM6olwW+o8J4SCmOBb/BpwZypkHeyM0PGFCxNQBr40=
github.com/pion/transport v0.14.1/go.mod h1:4tGmbk00NeYA3rUa9+n+dzCCoKkcy3YlYb99Jn2fNnI=
github.com/pion/transport/v2 v2.0.0 h1:bsMYyqHCbkvHwj+eNCFBuxtlKndKfyGI2vaQmM3fIE4=
github.com/pion/transport/v2 v2.0.0/go.mod h1:HS2MEBJTwD+1ZI2eSXSvHJx/HnzQqRy2/LXxt6eVMHc=
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 option.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package srtp

import (
"github.com/pion/transport/replaydetector"
"github.com/pion/transport/v2/replaydetector"
)

// ContextOption represents option of Context using the functional options pattern.
Expand Down
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"

"github.com/pion/logging"
"github.com/pion/transport/packetio"
"github.com/pion/transport/v2/packetio"
)

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

"github.com/pion/rtcp"
"github.com/pion/transport/test"
"github.com/pion/transport/v2/test"
)

const rtcpHeaderSize = 4
Expand Down
2 changes: 1 addition & 1 deletion session_srtp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"time"

"github.com/pion/rtp"
"github.com/pion/transport/test"
"github.com/pion/transport/v2/test"
)

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

"github.com/pion/rtcp"
"github.com/pion/transport/packetio"
"github.com/pion/transport/v2/packetio"
)

// Limit the buffer size to 100KB
Expand Down
2 changes: 1 addition & 1 deletion stream_srtp.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"

"github.com/pion/rtp"
"github.com/pion/transport/packetio"
"github.com/pion/transport/v2/packetio"
)

// Limit the buffer size to 1MB
Expand Down
2 changes: 1 addition & 1 deletion stream_srtp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/pion/rtp"
"github.com/pion/transport/packetio"
"github.com/pion/transport/v2/packetio"
"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit e966eef

Please sign in to comment.