Skip to content

Commit

Permalink
upgrade pion webrtc v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricfung committed May 6, 2024
1 parent 8003164 commit fd06d5a
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 150 deletions.
2 changes: 1 addition & 1 deletion engine/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/MixinNetwork/mixin/logger"
"github.com/gofrs/uuid/v5"
"github.com/pion/rtp"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion engine/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/gofrs/uuid/v5"
"github.com/pion/interceptor"
"github.com/pion/sdp/v2"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
)

type Router struct {
Expand Down
2 changes: 1 addition & 1 deletion engine/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/MixinNetwork/mixin/logger"
"github.com/dimfeld/httptreemux/v5"
"github.com/gorilla/handlers"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
"github.com/unrolled/render"
)

Expand Down
43 changes: 20 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,42 +1,39 @@
module github.com/MixinNetwork/kraken

go 1.22
go 1.22.2

require (
github.com/MixinNetwork/mixin v0.18.1
github.com/MixinNetwork/mixin v0.18.5
github.com/dimfeld/httptreemux/v5 v5.5.0
github.com/gofrs/uuid/v5 v5.0.0
github.com/gofrs/uuid/v5 v5.1.0
github.com/gorilla/handlers v1.5.2
github.com/pelletier/go-toml v1.9.5
github.com/pion/interceptor v0.1.25
github.com/pion/rtp v1.8.3
github.com/pion/interceptor v0.1.29
github.com/pion/rtp v1.8.6
github.com/pion/sdp/v2 v2.4.0
github.com/pion/webrtc/v3 v3.2.28
github.com/pion/webrtc/v4 v4.0.0-beta.19
github.com/unrolled/render v1.6.1
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/pion/datachannel v1.5.5 // indirect
github.com/pion/dtls/v2 v2.2.10 // indirect
github.com/pion/ice/v2 v2.3.14 // indirect
github.com/pion/datachannel v1.5.6 // indirect
github.com/pion/dtls/v2 v2.2.11 // indirect
github.com/pion/ice/v3 v3.0.7 // indirect
github.com/pion/logging v0.2.2 // indirect
github.com/pion/mdns v0.0.12 // indirect
github.com/pion/mdns/v2 v2.0.7 // indirect
github.com/pion/randutil v0.1.0 // indirect
github.com/pion/rtcp v1.2.14 // indirect
github.com/pion/sctp v1.8.12 // indirect
github.com/pion/sdp/v3 v3.0.6 // indirect
github.com/pion/srtp/v2 v2.0.18 // indirect
github.com/pion/stun v0.6.1 // indirect
github.com/pion/transport/v2 v2.2.4 // indirect
github.com/pion/turn/v2 v2.1.5 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
golang.org/x/crypto v0.20.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/sys v0.17.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
github.com/pion/sctp v1.8.16 // indirect
github.com/pion/sdp/v3 v3.0.9 // indirect
github.com/pion/srtp/v3 v3.0.1 // indirect
github.com/pion/stun/v2 v2.0.0 // indirect
github.com/pion/transport/v2 v2.2.5 // indirect
github.com/pion/transport/v3 v3.0.2 // indirect
github.com/pion/turn/v3 v3.0.3 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
)
Loading

0 comments on commit fd06d5a

Please sign in to comment.