Skip to content

Instantly share code, notes, and snippets.

@Sean-Der
Created August 19, 2024 00:52
Show Gist options
  • Save Sean-Der/84a5f74eee70823ae1ae0e00a2f8603a to your computer and use it in GitHub Desktop.
Save Sean-Der/84a5f74eee70823ae1ae0e00a2f8603a to your computer and use it in GitHub Desktop.
Pion go.mod breakage
PS C:\Users\duboisea\foo> cat .\go.mod
module foo
go 1.22.2
require github.com/pion/webrtc/v3 v3.3.0
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/pion/datachannel v1.5.8 // indirect
github.com/pion/dtls/v2 v2.2.12 // indirect
github.com/pion/ice/v2 v2.3.34 // indirect
github.com/pion/interceptor v0.1.29 // indirect
github.com/pion/logging v0.2.2 // indirect
github.com/pion/mdns v0.0.12 // indirect
github.com/pion/randutil v0.1.0 // indirect
github.com/pion/rtcp v1.2.14 // indirect
github.com/pion/rtp v1.8.7 // indirect
github.com/pion/sctp v1.8.19 // indirect
github.com/pion/sdp/v3 v3.0.9 // indirect
github.com/pion/srtp/v2 v2.0.20 // indirect
github.com/pion/stun v0.6.1 // indirect
github.com/pion/transport/v2 v2.2.10 // indirect
github.com/pion/turn/v2 v2.1.6 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
github.com/wlynxg/anet v0.0.3 // indirect
golang.org/x/crypto v0.21.0 // indirect
golang.org/x/net v0.22.0 // indirect
golang.org/x/sys v0.18.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
package main
import "github.com/pion/webrtc/v3"
func main() {
_, err := webrtc.NewPeerConnection(webrtc.Configuration{})
if err != nil {
panic(err)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment