update snowflake to use pion webrtc v4

This commit is contained in:
Shelikhoo 2024-11-12 15:46:17 +00:00
parent 290be512e3
commit 239357509f
No known key found for this signature in database
GPG key ID: 4C9764E9FE80A3DC
9 changed files with 33 additions and 86 deletions

View file

@ -35,7 +35,7 @@ import (
"strings"
"time"
"github.com/pion/ice/v2"
"github.com/pion/ice/v4"
"github.com/pion/webrtc/v4"
"github.com/xtaci/kcp-go/v5"
"github.com/xtaci/smux"

View file

@ -10,9 +10,9 @@ import (
"sync"
"time"
"github.com/pion/ice/v2"
"github.com/pion/transport/v2"
"github.com/pion/transport/v2/stdnet"
"github.com/pion/ice/v4"
"github.com/pion/transport/v3"
"github.com/pion/transport/v3/stdnet"
"github.com/pion/webrtc/v4"
"gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/v2/common/event"