From e593588b4764e4c42290d2f5ea45a21bc13425c5 Mon Sep 17 00:00:00 2001 From: David Zhao Date: Fri, 8 Sep 2023 14:49:08 -0700 Subject: [PATCH] Revert "Update module transport, srtp, ice and turn" This reverts commit ea23dec2b9e6b6377df739a42226b48cc4e187d5. --- datachannel_go_test.go | 2 +- datachannel_test.go | 2 +- dtlstransport.go | 2 +- dtlstransport_test.go | 2 +- examples/ice-single-port/main.go | 2 +- examples/vnet/show-network-usage/main.go | 2 +- go.mod | 7 +++---- go.sum | 15 ++++++--------- icecandidate.go | 2 +- icecandidate_test.go | 2 +- icecandidatetype.go | 2 +- icegatherer.go | 2 +- icegatherer_test.go | 4 ++-- icemux.go | 2 +- iceserver_js.go | 2 +- icetransport.go | 2 +- icetransport_test.go | 2 +- icetransportstate.go | 2 +- icetransportstate_test.go | 2 +- interceptor_test.go | 2 +- internal/mux/endpoint.go | 4 ++-- internal/mux/mux.go | 4 ++-- internal/mux/mux_test.go | 4 ++-- mediaengine_test.go | 2 +- networktype.go | 2 +- ortc_datachannel_test.go | 2 +- ortc_media_test.go | 2 +- peerconnection.go | 4 ++-- peerconnection_close_test.go | 2 +- peerconnection_go_test.go | 6 +++--- peerconnection_js.go | 2 +- peerconnection_media_test.go | 2 +- peerconnection_renegotiation_test.go | 2 +- peerconnection_test.go | 2 +- rtpreceiver.go | 2 +- rtpreceiver_test.go | 2 +- rtpsender_test.go | 2 +- sdp.go | 2 +- sdpsemantics_test.go | 2 +- settingengine.go | 8 ++++---- settingengine_test.go | 2 +- srtp_writer_future.go | 2 +- stats.go | 2 +- stats_go_test.go | 2 +- track_local_static_test.go | 2 +- vnet_test.go | 2 +- 46 files changed, 63 insertions(+), 67 deletions(-) diff --git a/datachannel_go_test.go b/datachannel_go_test.go index 8c02a820b83..15cb6fb11cb 100644 --- a/datachannel_go_test.go +++ b/datachannel_go_test.go @@ -23,7 +23,7 @@ import ( "github.com/pion/datachannel" "github.com/pion/logging" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/datachannel_test.go b/datachannel_test.go index 06f22e24d87..4c5ace45c84 100644 --- a/datachannel_test.go +++ b/datachannel_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/dtlstransport.go b/dtlstransport.go index ddaac7d95f3..d468eca70b5 100644 --- a/dtlstransport.go +++ b/dtlstransport.go @@ -24,7 +24,7 @@ import ( "github.com/pion/interceptor" "github.com/pion/logging" "github.com/pion/rtcp" - "github.com/pion/srtp/v3" + "github.com/pion/srtp/v2" "github.com/pion/webrtc/v3/internal/mux" "github.com/pion/webrtc/v3/internal/util" "github.com/pion/webrtc/v3/pkg/rtcerr" diff --git a/dtlstransport_test.go b/dtlstransport_test.go index 93d2109535d..a07da27b83d 100644 --- a/dtlstransport_test.go +++ b/dtlstransport_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/examples/ice-single-port/main.go b/examples/ice-single-port/main.go index fe68d372672..811dedec859 100644 --- a/examples/ice-single-port/main.go +++ b/examples/ice-single-port/main.go @@ -13,7 +13,7 @@ import ( "net/http" "time" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/webrtc/v3" ) diff --git a/examples/vnet/show-network-usage/main.go b/examples/vnet/show-network-usage/main.go index 97efdce4645..0aad23817d4 100644 --- a/examples/vnet/show-network-usage/main.go +++ b/examples/vnet/show-network-usage/main.go @@ -16,7 +16,7 @@ import ( "time" "github.com/pion/logging" - "github.com/pion/transport/v3/vnet" + "github.com/pion/transport/v2/vnet" "github.com/pion/webrtc/v3" ) diff --git a/go.mod b/go.mod index 1323a437d4a..27518975b5b 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/onsi/gomega v1.17.0 // indirect github.com/pion/datachannel v1.5.5 github.com/pion/dtls/v2 v2.2.7 - github.com/pion/ice/v3 v3.0.0 + github.com/pion/ice/v2 v2.3.11 github.com/pion/interceptor v0.1.18 github.com/pion/logging v0.2.2 github.com/pion/randutil v0.1.0 @@ -15,10 +15,9 @@ require ( github.com/pion/rtp v1.8.1 github.com/pion/sctp v1.8.8 github.com/pion/sdp/v3 v3.0.6 - github.com/pion/srtp/v3 v3.0.0 + github.com/pion/srtp/v2 v2.0.17 github.com/pion/stun v0.6.1 - github.com/pion/transport/v2 v2.2.3 // indirect - github.com/pion/transport/v3 v3.0.1 + github.com/pion/transport/v2 v2.2.3 github.com/sclevine/agouti v3.0.0+incompatible github.com/stretchr/testify v1.8.4 golang.org/x/net v0.14.0 diff --git a/go.sum b/go.sum index 0adf5df314d..45a2503eb3b 100644 --- a/go.sum +++ b/go.sum @@ -44,8 +44,8 @@ github.com/pion/datachannel v1.5.5 h1:10ef4kwdjije+M9d7Xm9im2Y3O6A6ccQb0zcqZcJew github.com/pion/datachannel v1.5.5/go.mod h1:iMz+lECmfdCMqFRhXhcA/219B0SQlbpoR2V118yimL0= github.com/pion/dtls/v2 v2.2.7 h1:cSUBsETxepsCSFSxC3mc/aDo14qQLMSL+O6IjG28yV8= github.com/pion/dtls/v2 v2.2.7/go.mod h1:8WiMkebSHFD0T+dIU+UeBaoV7kDhOW5oDCzZ7WZ/F9s= -github.com/pion/ice/v3 v3.0.0 h1:7bnFWQNIJqabCp111sMIbo4dOjRMLzpf4qhWEadf9IY= -github.com/pion/ice/v3 v3.0.0/go.mod h1:PTKU5KYRIlBTvrj1fh1PiY3z4YsMiC/AECGJqMwFSxI= +github.com/pion/ice/v2 v2.3.11 h1:rZjVmUwyT55cmN8ySMpL7rsS8KYsJERsrxJLLxpKhdw= +github.com/pion/ice/v2 v2.3.11/go.mod h1:hPcLC3kxMa+JGRzMHqQzjoSj3xtE9F+eoncmXLlCL4E= github.com/pion/interceptor v0.1.18 h1:Hk26334NUQeUcJNR27YHYKT+sWNhhegQ9KFz5Nn6yMQ= github.com/pion/interceptor v0.1.18/go.mod h1:tpvvF4cPM6NGxFA1DUMbhabzQBxdWMATDGEUYOR9x6I= github.com/pion/logging v0.2.2 h1:M9+AIj/+pxNsDfAT64+MAVgJO0rsyLnoJKCqf//DoeY= @@ -63,8 +63,8 @@ github.com/pion/sctp v1.8.8 h1:5EdnnKI4gpyR1a1TwbiS/wxEgcUWBHsc7ILAjARJB+U= github.com/pion/sctp v1.8.8/go.mod h1:igF9nZBrjh5AtmKc7U30jXltsFHicFCXSmWA2GWRaWs= github.com/pion/sdp/v3 v3.0.6 h1:WuDLhtuFUUVpTfus9ILC4HRyHsW6TdugjEX/QY9OiUw= github.com/pion/sdp/v3 v3.0.6/go.mod h1:iiFWFpQO8Fy3S5ldclBkpXqmWy02ns78NOKoLLL0YQw= -github.com/pion/srtp/v3 v3.0.0 h1:dH5nZUTxN+JDu4otle8Dfh5E/MHR6m8/aib7eD22QDc= -github.com/pion/srtp/v3 v3.0.0/go.mod h1:WxJGk0scShe0UdUidDgR0kDHywX7JN83JOYPkYiLdpM= +github.com/pion/srtp/v2 v2.0.17 h1:ECuOk+7uIpY6HUlTb0nXhfvu4REG2hjtC4ronYFCZE4= +github.com/pion/srtp/v2 v2.0.17/go.mod h1:y5WSHcJY4YfNB/5r7ca5YjHeIr1H3LM1rKArGGs8jMc= 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/transport v0.14.1 h1:XSM6olwW+o8J4SCmOBb/BpwZypkHeyM0PGFCxNQBr40= @@ -73,11 +73,8 @@ github.com/pion/transport/v2 v2.2.1/go.mod h1:cXXWavvCnFF6McHTft3DWS9iic2Mftcz1A github.com/pion/transport/v2 v2.2.2/go.mod h1:OJg3ojoBJopjEeECq2yJdXH9YVrUJ1uQ++NjXLOUorc= github.com/pion/transport/v2 v2.2.3 h1:XcOE3/x41HOSKbl1BfyY1TF1dERx7lVvlMCbXU7kfvA= github.com/pion/transport/v2 v2.2.3/go.mod h1:q2U/tf9FEfnSBGSW6w5Qp5PFWRLRj3NjLhCCgpRK4p0= -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/v2 v2.1.3 h1:pYxTVWG2gpC97opdRc5IGsQ1lJ9O/IlNhkzj7MMrGAA= +github.com/pion/turn/v2 v2.1.3/go.mod h1:huEpByKKHix2/b9kmTAM3YoX6MKP+/D//0ClgUYR2fY= 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/sclevine/agouti v3.0.0+incompatible h1:8IBJS6PWz3uTlMP3YBIR5f+KAldcGuOeFkFbUWfBgK4= diff --git a/icecandidate.go b/icecandidate.go index 3e4adeafa67..fa0b68093ab 100644 --- a/icecandidate.go +++ b/icecandidate.go @@ -6,7 +6,7 @@ package webrtc import ( "fmt" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" ) // ICECandidate represents a ice candidate diff --git a/icecandidate_test.go b/icecandidate_test.go index c646620a4ec..6e237815b5d 100644 --- a/icecandidate_test.go +++ b/icecandidate_test.go @@ -6,7 +6,7 @@ package webrtc import ( "testing" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/stretchr/testify/assert" ) diff --git a/icecandidatetype.go b/icecandidatetype.go index 01f35119600..5bef825b30b 100644 --- a/icecandidatetype.go +++ b/icecandidatetype.go @@ -6,7 +6,7 @@ package webrtc import ( "fmt" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" ) // ICECandidateType represents the type of the ICE candidate used. diff --git a/icegatherer.go b/icegatherer.go index 0301c3d536c..4265c5daa34 100644 --- a/icegatherer.go +++ b/icegatherer.go @@ -11,7 +11,7 @@ import ( "sync" "sync/atomic" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/logging" "github.com/pion/stun" ) diff --git a/icegatherer_test.go b/icegatherer_test.go index 7b8882ced7f..ef8660699aa 100644 --- a/icegatherer_test.go +++ b/icegatherer_test.go @@ -12,8 +12,8 @@ import ( "testing" "time" - "github.com/pion/ice/v3" - "github.com/pion/transport/v3/test" + "github.com/pion/ice/v2" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/icemux.go b/icemux.go index 3d8ebb49254..1bae313109f 100644 --- a/icemux.go +++ b/icemux.go @@ -6,7 +6,7 @@ package webrtc import ( "net" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/logging" ) diff --git a/iceserver_js.go b/iceserver_js.go index 763159270fd..e4061fa5f49 100644 --- a/iceserver_js.go +++ b/iceserver_js.go @@ -9,7 +9,7 @@ package webrtc import ( "errors" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" ) // ICEServer describes a single STUN and TURN server that can be used by diff --git a/icetransport.go b/icetransport.go index e7db628468e..469aafbd43f 100644 --- a/icetransport.go +++ b/icetransport.go @@ -13,7 +13,7 @@ import ( "sync/atomic" "time" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/logging" "github.com/pion/webrtc/v3/internal/mux" ) diff --git a/icetransport_test.go b/icetransport_test.go index 4a148fd8fd2..55867d39420 100644 --- a/icetransport_test.go +++ b/icetransport_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/icetransportstate.go b/icetransportstate.go index fc2b62401fc..4edbf0f4755 100644 --- a/icetransportstate.go +++ b/icetransportstate.go @@ -3,7 +3,7 @@ package webrtc -import "github.com/pion/ice/v3" +import "github.com/pion/ice/v2" // ICETransportState represents the current state of the ICE transport. type ICETransportState int diff --git a/icetransportstate_test.go b/icetransportstate_test.go index a1ee930e089..4da6d6f649e 100644 --- a/icetransportstate_test.go +++ b/icetransportstate_test.go @@ -6,7 +6,7 @@ package webrtc import ( "testing" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/stretchr/testify/assert" ) diff --git a/interceptor_test.go b/interceptor_test.go index 885463b247b..7b50da027dc 100644 --- a/interceptor_test.go +++ b/interceptor_test.go @@ -16,7 +16,7 @@ import ( "github.com/pion/interceptor" mock_interceptor "github.com/pion/interceptor/pkg/mock" "github.com/pion/rtp" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/pion/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/internal/mux/endpoint.go b/internal/mux/endpoint.go index 227c2bc2ff4..3f53d16c5d9 100644 --- a/internal/mux/endpoint.go +++ b/internal/mux/endpoint.go @@ -9,8 +9,8 @@ import ( "net" "time" - "github.com/pion/ice/v3" - "github.com/pion/transport/v3/packetio" + "github.com/pion/ice/v2" + "github.com/pion/transport/v2/packetio" ) // Endpoint implements net.Conn. It is used to read muxed packets. diff --git a/internal/mux/mux.go b/internal/mux/mux.go index 81ea005066c..1e167b89784 100644 --- a/internal/mux/mux.go +++ b/internal/mux/mux.go @@ -10,9 +10,9 @@ import ( "net" "sync" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/logging" - "github.com/pion/transport/v3/packetio" + "github.com/pion/transport/v2/packetio" ) // The maximum amount of data that can be buffered before returning errors. diff --git a/internal/mux/mux_test.go b/internal/mux/mux_test.go index 75859b20765..8a2f09303c7 100644 --- a/internal/mux/mux_test.go +++ b/internal/mux/mux_test.go @@ -10,8 +10,8 @@ import ( "time" "github.com/pion/logging" - "github.com/pion/transport/v3/packetio" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/packetio" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/require" ) diff --git a/mediaengine_test.go b/mediaengine_test.go index 9ecf690e888..67985384c4d 100644 --- a/mediaengine_test.go +++ b/mediaengine_test.go @@ -13,7 +13,7 @@ import ( "testing" "github.com/pion/sdp/v3" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/networktype.go b/networktype.go index 76b42465969..601e73ff8d6 100644 --- a/networktype.go +++ b/networktype.go @@ -6,7 +6,7 @@ package webrtc import ( "fmt" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" ) func supportedNetworkTypes() []NetworkType { diff --git a/ortc_datachannel_test.go b/ortc_datachannel_test.go index 201d803641f..c7f1880213d 100644 --- a/ortc_datachannel_test.go +++ b/ortc_datachannel_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/ortc_media_test.go b/ortc_media_test.go index 4d4d2b6dc73..966d285cc06 100644 --- a/ortc_media_test.go +++ b/ortc_media_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/pion/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/peerconnection.go b/peerconnection.go index 869f5d1eba2..fc4a0413915 100644 --- a/peerconnection.go +++ b/peerconnection.go @@ -19,12 +19,12 @@ import ( "sync/atomic" "time" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/interceptor" "github.com/pion/logging" "github.com/pion/rtcp" "github.com/pion/sdp/v3" - "github.com/pion/srtp/v3" + "github.com/pion/srtp/v2" "github.com/pion/webrtc/v3/internal/util" "github.com/pion/webrtc/v3/pkg/rtcerr" ) diff --git a/peerconnection_close_test.go b/peerconnection_close_test.go index 5360d701fc2..df7a6526b1e 100644 --- a/peerconnection_close_test.go +++ b/peerconnection_close_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/peerconnection_go_test.go b/peerconnection_go_test.go index 26ec0aa5c34..b51a0c65057 100644 --- a/peerconnection_go_test.go +++ b/peerconnection_go_test.go @@ -22,10 +22,10 @@ import ( "testing" "time" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/rtp" - "github.com/pion/transport/v3/test" - "github.com/pion/transport/v3/vnet" + "github.com/pion/transport/v2/test" + "github.com/pion/transport/v2/vnet" "github.com/pion/webrtc/v3/internal/util" "github.com/pion/webrtc/v3/pkg/rtcerr" "github.com/stretchr/testify/assert" diff --git a/peerconnection_js.go b/peerconnection_js.go index afea8dd0095..8322e1be925 100644 --- a/peerconnection_js.go +++ b/peerconnection_js.go @@ -10,7 +10,7 @@ package webrtc import ( "syscall/js" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/webrtc/v3/pkg/rtcerr" ) diff --git a/peerconnection_media_test.go b/peerconnection_media_test.go index b000f538fff..2b058e039bb 100644 --- a/peerconnection_media_test.go +++ b/peerconnection_media_test.go @@ -23,7 +23,7 @@ import ( "github.com/pion/rtcp" "github.com/pion/rtp" "github.com/pion/sdp/v3" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/pion/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/peerconnection_renegotiation_test.go b/peerconnection_renegotiation_test.go index 9e049bf7925..fd8967c31e9 100644 --- a/peerconnection_renegotiation_test.go +++ b/peerconnection_renegotiation_test.go @@ -19,7 +19,7 @@ import ( "time" "github.com/pion/rtp" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/pion/webrtc/v3/internal/util" "github.com/pion/webrtc/v3/pkg/media" "github.com/pion/webrtc/v3/pkg/rtcerr" diff --git a/peerconnection_test.go b/peerconnection_test.go index c821b69ab99..f4445ee5639 100644 --- a/peerconnection_test.go +++ b/peerconnection_test.go @@ -11,7 +11,7 @@ import ( "time" "github.com/pion/sdp/v3" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/pion/webrtc/v3/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/rtpreceiver.go b/rtpreceiver.go index 656fcc56411..c04a715f5ba 100644 --- a/rtpreceiver.go +++ b/rtpreceiver.go @@ -14,7 +14,7 @@ import ( "github.com/pion/interceptor" "github.com/pion/rtcp" - "github.com/pion/srtp/v3" + "github.com/pion/srtp/v2" "github.com/pion/webrtc/v3/internal/util" ) diff --git a/rtpreceiver_test.go b/rtpreceiver_test.go index 7b5a2824489..bda4a0fa784 100644 --- a/rtpreceiver_test.go +++ b/rtpreceiver_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/pion/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/rtpsender_test.go b/rtpsender_test.go index 3a3a1a7472e..d071e5a8238 100644 --- a/rtpsender_test.go +++ b/rtpsender_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/pion/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/sdp.go b/sdp.go index 0622c759011..44c42ae40a3 100644 --- a/sdp.go +++ b/sdp.go @@ -15,7 +15,7 @@ import ( "strings" "sync/atomic" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/logging" "github.com/pion/sdp/v3" ) diff --git a/sdpsemantics_test.go b/sdpsemantics_test.go index d513c3b994c..418a1e8fae1 100644 --- a/sdpsemantics_test.go +++ b/sdpsemantics_test.go @@ -14,7 +14,7 @@ import ( "time" "github.com/pion/sdp/v3" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/settingengine.go b/settingengine.go index 4f92ff09245..921c94b28e2 100644 --- a/settingengine.go +++ b/settingengine.go @@ -15,11 +15,11 @@ import ( "github.com/pion/dtls/v2" dtlsElliptic "github.com/pion/dtls/v2/pkg/crypto/elliptic" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/pion/logging" - "github.com/pion/transport/v3" - "github.com/pion/transport/v3/packetio" - "github.com/pion/transport/v3/vnet" + "github.com/pion/transport/v2" + "github.com/pion/transport/v2/packetio" + "github.com/pion/transport/v2/vnet" "golang.org/x/net/proxy" ) diff --git a/settingengine_test.go b/settingengine_test.go index 5ad70bda9a3..3834db83b0a 100644 --- a/settingengine_test.go +++ b/settingengine_test.go @@ -13,7 +13,7 @@ import ( "time" "github.com/pion/dtls/v2/pkg/crypto/elliptic" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/srtp_writer_future.go b/srtp_writer_future.go index fe090858b22..6855e8d3094 100644 --- a/srtp_writer_future.go +++ b/srtp_writer_future.go @@ -13,7 +13,7 @@ import ( "time" "github.com/pion/rtp" - "github.com/pion/srtp/v3" + "github.com/pion/srtp/v2" ) // srtpWriterFuture blocks Read/Write calls until diff --git a/stats.go b/stats.go index 4a9d3732abf..35cbea5bd80 100644 --- a/stats.go +++ b/stats.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" ) // A Stats object contains a set of statistics copies out of a monitored component diff --git a/stats_go_test.go b/stats_go_test.go index df86bc9646d..45375da7356 100644 --- a/stats_go_test.go +++ b/stats_go_test.go @@ -13,7 +13,7 @@ import ( "testing" "time" - "github.com/pion/ice/v3" + "github.com/pion/ice/v2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/track_local_static_test.go b/track_local_static_test.go index 0c09eddff2b..5136eac67ee 100644 --- a/track_local_static_test.go +++ b/track_local_static_test.go @@ -13,7 +13,7 @@ import ( "time" "github.com/pion/rtp" - "github.com/pion/transport/v3/test" + "github.com/pion/transport/v2/test" "github.com/stretchr/testify/assert" ) diff --git a/vnet_test.go b/vnet_test.go index df8f0e7070b..df0a03bf683 100644 --- a/vnet_test.go +++ b/vnet_test.go @@ -11,7 +11,7 @@ import ( "time" "github.com/pion/logging" - "github.com/pion/transport/v3/vnet" + "github.com/pion/transport/v2/vnet" "github.com/stretchr/testify/assert" )