mirror of
https://github.com/bluenviron/mediamtx.git
synced 2026-01-19 09:59:48 -08:00
When listening and accepting an incoming connection request, the response might be received by the peer with some delay due to latency. This causes the peer to send a second connection request, that is not detected as duplicate because the first connection request has already been removed from the map that is used to check for duplicates (connReqs), so it is treated as a brand new connection request, breaking the first connection. This patch fixes the issue by introducing another map (connByPeer) that is used to check whether a connection request is associated to an already-accepted connection.
105 lines
4.3 KiB
Modula-2
105 lines
4.3 KiB
Modula-2
module github.com/bluenviron/mediamtx
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
code.cloudfoundry.org/bytefmt v0.58.0
|
|
github.com/Masterminds/semver/v3 v3.4.0
|
|
github.com/MicahParks/jwkset v0.11.0
|
|
github.com/MicahParks/keyfunc/v3 v3.7.0
|
|
github.com/abema/go-mp4 v1.4.1
|
|
github.com/alecthomas/kong v1.13.0
|
|
github.com/asticode/go-astits v1.14.0
|
|
github.com/bluenviron/gohlslib/v2 v2.2.4
|
|
github.com/bluenviron/gortmplib v0.1.2
|
|
github.com/bluenviron/gortsplib/v5 v5.2.1
|
|
github.com/bluenviron/mediacommon/v2 v2.5.3
|
|
github.com/datarhei/gosrt v0.9.0
|
|
github.com/fsnotify/fsnotify v1.9.0
|
|
github.com/gin-contrib/pprof v1.5.3
|
|
github.com/gin-gonic/gin v1.11.0
|
|
github.com/go-git/go-billy/v5 v5.7.0
|
|
github.com/go-git/go-git/v5 v5.16.4
|
|
github.com/golang-jwt/jwt/v5 v5.3.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gookit/color v1.6.0
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
|
|
github.com/matthewhartstonge/argon2 v1.4.4
|
|
github.com/minio/selfupdate v0.6.0
|
|
github.com/pion/ice/v4 v4.1.0
|
|
github.com/pion/interceptor v0.1.42
|
|
github.com/pion/logging v0.2.4
|
|
github.com/pion/rtcp v1.2.16
|
|
github.com/pion/rtp v1.8.27
|
|
github.com/pion/sdp/v3 v3.0.16
|
|
github.com/pion/transport/v3 v3.1.1
|
|
github.com/pion/webrtc/v4 v4.1.8
|
|
github.com/stretchr/testify v1.11.1
|
|
golang.org/x/crypto v0.46.0
|
|
golang.org/x/sys v0.39.0
|
|
golang.org/x/term v0.38.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
)
|
|
|
|
require (
|
|
aead.dev/minisign v0.2.0 // indirect
|
|
dario.cat/mergo v1.0.0 // indirect
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
github.com/ProtonMail/go-crypto v1.1.6 // indirect
|
|
github.com/asticode/go-astikit v0.30.0 // indirect
|
|
github.com/benburkert/openpgp v0.0.0-20160410205803-c2471f86866c // indirect
|
|
github.com/bytedance/sonic v1.14.0 // indirect
|
|
github.com/bytedance/sonic/loader v0.3.0 // indirect
|
|
github.com/cloudflare/circl v1.6.1 // indirect
|
|
github.com/cloudwego/base64x v0.1.6 // indirect
|
|
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/emirpasic/gods v1.18.1 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
|
|
github.com/gin-contrib/sse v1.1.0 // indirect
|
|
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
github.com/go-playground/validator/v10 v10.27.0 // indirect
|
|
github.com/goccy/go-json v0.10.5 // indirect
|
|
github.com/goccy/go-yaml v1.18.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
|
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/leodido/go-urn v1.4.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
|
|
github.com/pion/datachannel v1.5.10 // indirect
|
|
github.com/pion/dtls/v3 v3.0.9 // indirect
|
|
github.com/pion/mdns/v2 v2.1.0 // indirect
|
|
github.com/pion/randutil v0.1.0 // indirect
|
|
github.com/pion/sctp v1.8.41 // indirect
|
|
github.com/pion/srtp/v3 v3.0.9 // indirect
|
|
github.com/pion/stun/v3 v3.0.2 // indirect
|
|
github.com/pion/turn/v4 v4.1.3 // indirect
|
|
github.com/pjbgf/sha1cd v0.3.2 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/quic-go/qpack v0.6.0 // indirect
|
|
github.com/quic-go/quic-go v0.57.0 // indirect
|
|
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
|
|
github.com/skeema/knownhosts v1.3.1 // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/ugorji/go/codec v1.3.0 // indirect
|
|
github.com/wlynxg/anet v0.0.5 // indirect
|
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
golang.org/x/arch v0.20.0 // indirect
|
|
golang.org/x/net v0.47.0 // indirect
|
|
golang.org/x/text v0.32.0 // indirect
|
|
golang.org/x/time v0.12.0 // indirect
|
|
google.golang.org/protobuf v1.36.9 // indirect
|
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|
|
|
|
replace github.com/datarhei/gosrt => github.com/aler9/gosrt v0.9.1-0.20251222193740-d7fe54d226e5
|