mirror of
https://github.com/livekit/livekit.git
synced 2026-12-04 12:48:09 +00:00
* Let clients set a preferred ICE candidate protocol on join The v1 JoinRequest ConnectionSettings.candidate_protocol and the v0 candidate_protocol query parameter let a client ask for TCP or TLS from the start. The SFU applies the stronger of the client preference and the learned room fallback, and keeps the join preference on resume. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Require the candidate protocol on every connect, check ICE/TCP Resume uses the preference from the resume request, the same as join, so the participant no longer stores the join value. TCP mode drops UDP candidates, so a TCP preference applies only when ICE/TCP is enabled, and TLS without TURN/TLS falls back to TCP only under the same check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Keep the client preference apart from the learned fallback The room cache now holds only fallbacks the transport learned after a failure. The participant stores the client preference from join, and resume applies the stronger of it and the resume request before the resume response, so the response carries the matching ForceRelay. TLS mode lists only TLS relays, also from external TURN servers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Let a resume preference replace the join preference A resume that sends TCP or TLS uses that value, and only a resume without a value inherits the preference from join. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Ignore an unsupported preference on resume A resume preference for a transport the server does not offer no longer replaces the join preference. Each preference is lowered to a supported transport before the resume picks between them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
187 lines
7.9 KiB
AMPL
187 lines
7.9 KiB
AMPL
module github.com/livekit/livekit-server
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/bep/debounce v1.2.1
|
|
github.com/d5/tengo/v2 v2.17.0
|
|
github.com/dennwc/iters v1.2.2
|
|
github.com/dustin/go-humanize v1.1.0
|
|
github.com/elliotchance/orderedmap/v3 v3.1.1
|
|
github.com/florianl/go-tc v0.4.8
|
|
github.com/frostbyte73/core v0.1.1
|
|
github.com/gammazero/deque v1.2.3
|
|
github.com/gammazero/workerpool v1.3.0
|
|
github.com/golang-jwt/jwt/v5 v5.3.1
|
|
github.com/google/uuid v1.6.0
|
|
github.com/google/wire v0.7.0
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/hashicorp/go-version v1.9.0
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7
|
|
github.com/jellydator/ttlcache/v3 v3.4.1
|
|
github.com/jxskiss/base62 v1.1.0
|
|
github.com/livekit/mageutil v0.0.0-20250511045019-0f1ff63f7731
|
|
github.com/livekit/mediatransportutil v0.0.0-20261116220501-6af81419a977
|
|
github.com/livekit/protocol v1.54.3-0.20261124075400-36e1b27375d9
|
|
github.com/livekit/psrpc v0.8.2
|
|
github.com/mackerelio/go-osstat v0.2.8
|
|
github.com/magefile/mage v1.17.2
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/moby/moby/client v0.6.2
|
|
github.com/olekukonko/tablewriter v1.1.5
|
|
github.com/ory/dockertest/v4 v4.0.1
|
|
github.com/pion/datachannel v1.6.4
|
|
github.com/pion/dtls/v4 v4.0.0-rc.8
|
|
github.com/pion/ice/v4 v4.4.8
|
|
github.com/pion/interceptor v0.1.51
|
|
github.com/pion/rtcp v1.2.20
|
|
github.com/pion/rtp v1.10.6
|
|
github.com/pion/sctp v1.12.1
|
|
github.com/pion/sdp/v3 v3.0.20
|
|
github.com/pion/stun/v4 v4.0.1
|
|
github.com/pion/transport/v4 v4.1.3
|
|
github.com/pion/transport/v5 v5.1.5
|
|
github.com/pion/turn/v5 v5.1.3
|
|
github.com/pion/webrtc/v4 v4.2.26
|
|
github.com/pires/go-proxyproto v0.15.0
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/prometheus/client_golang v1.25.0
|
|
github.com/quic-go/quic-go v0.64.1
|
|
github.com/quic-go/webtransport-go v0.13.0
|
|
github.com/redis/go-redis/v9 v9.23.0
|
|
github.com/rs/cors v1.11.1
|
|
github.com/stretchr/testify v1.12.1
|
|
github.com/thoas/go-funk v0.9.3
|
|
github.com/tomnomnom/linkheader v0.0.0-20250811210735-e5fe3b51442e
|
|
github.com/twitchtv/twirp v8.1.3+incompatible
|
|
github.com/ua-parser/uap-go v0.0.0-20261028195011-4cb30e998c4c
|
|
github.com/urfave/negroni/v3 v3.1.2
|
|
go.uber.org/atomic v1.12.0
|
|
go.uber.org/multierr v1.11.0
|
|
go.uber.org/zap v1.28.0
|
|
golang.org/x/mod v0.43.0
|
|
golang.org/x/sync v0.25.0
|
|
google.golang.org/protobuf v1.36.12
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
cel.dev/cel-go v0.33.2 // indirect
|
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
github.com/cenkalti/backoff/v5 v5.0.3 // indirect
|
|
github.com/charmbracelet/colorprofile v0.3.1 // indirect
|
|
github.com/charmbracelet/lipgloss v1.1.0 // indirect
|
|
github.com/charmbracelet/x/ansi v0.9.2 // indirect
|
|
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
|
|
github.com/charmbracelet/x/term v0.2.1 // indirect
|
|
github.com/cilium/ebpf v0.22.0 // indirect
|
|
github.com/clipperhouse/displaywidth v0.11.0 // indirect
|
|
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
|
|
github.com/containerd/errdefs v1.0.0 // indirect
|
|
github.com/containerd/errdefs/pkg v0.3.0 // indirect
|
|
github.com/distribution/reference v0.6.0 // indirect
|
|
github.com/dunglas/httpsfv v1.1.1 // indirect
|
|
github.com/fatih/color v1.19.0 // indirect
|
|
github.com/felixge/httpsnoop v1.1.0 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/goccy/go-json v0.10.6 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.31.0 // indirect
|
|
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.15 // indirect
|
|
github.com/mattn/go-isatty v0.0.22 // indirect
|
|
github.com/maxbrunsfeld/counterfeiter/v6 v6.14.0 // indirect
|
|
github.com/mfridman/tparse v0.18.0 // indirect
|
|
github.com/moby/moby/api v1.56.1 // indirect
|
|
github.com/muesli/termenv v0.16.0 // indirect
|
|
github.com/nyaruka/phonenumbers v1.8.1 // indirect
|
|
github.com/olekukonko/cat v0.0.0-20250911104152-50322a0618f6 // indirect
|
|
github.com/olekukonko/errors v1.3.0 // indirect
|
|
github.com/olekukonko/ll v0.1.8 // indirect
|
|
github.com/pandatix/go-abnf v0.5.5 // indirect
|
|
github.com/petermattis/goid v0.0.0-20261109124353-7cfa343ad0ab // indirect
|
|
github.com/pion/dtls/v3 v3.1.15 // indirect
|
|
github.com/puzpuzpuz/xsync/v4 v4.5.0 // indirect
|
|
github.com/quic-go/qpack v0.6.0 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.71.0 // indirect
|
|
go.opentelemetry.io/otel v1.47.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.47.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.47.0 // indirect
|
|
go.opentelemetry.io/otel/log v1.47.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.47.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.47.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.47.0 // indirect
|
|
go.opentelemetry.io/proto/otlp v1.11.1 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.6 // indirect
|
|
golang.org/x/exp v0.0.0-20261109185158-a52e3aef5920 // indirect
|
|
golang.org/x/telemetry v0.0.0-20261009151841-97e8ea77aa2a // indirect
|
|
golang.org/x/term v0.47.0 // indirect
|
|
golang.org/x/time v0.16.0 // indirect
|
|
)
|
|
|
|
require (
|
|
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.12-20260825204119-511051f7f437.2 // indirect
|
|
buf.build/go/protovalidate v1.4.0 // indirect
|
|
buf.build/go/protoyaml v0.8.0 // indirect
|
|
cel.dev/expr v0.26.0 // indirect
|
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
|
github.com/antlr4-go/antlr/v4 v4.13.1 // indirect
|
|
github.com/benbjohnson/clock v1.3.5 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/docker/go-connections v0.8.2 // indirect
|
|
github.com/docker/go-units v0.5.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.10.1 // indirect
|
|
github.com/go-logr/logr v1.4.4 // indirect
|
|
github.com/google/go-cmp v0.7.0 // indirect
|
|
github.com/google/subcommands v1.2.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
|
|
github.com/hashicorp/golang-lru v1.0.2 // indirect
|
|
github.com/josharian/native v1.1.0 // indirect
|
|
github.com/klauspost/compress v1.20.4 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.4.2 // indirect
|
|
github.com/lithammer/shortuuid/v4 v4.3.0 // indirect
|
|
github.com/mattn/go-runewidth v0.0.24 // indirect
|
|
github.com/mdlayher/netlink v1.11.2 // indirect
|
|
github.com/mdlayher/socket v0.6.1 // indirect
|
|
github.com/moby/docker-image-spec v1.3.1 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
|
github.com/opencontainers/image-spec v1.1.1 // indirect
|
|
github.com/pion/logging v0.2.4
|
|
github.com/pion/mdns/v2 v2.2.2 // indirect
|
|
github.com/pion/randutil v0.1.0 // indirect
|
|
github.com/pion/srtp/v3 v3.1.3 // indirect
|
|
github.com/pion/stun/v3 v3.1.7 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/client_model v0.6.3
|
|
github.com/prometheus/common v0.73.1 // indirect
|
|
github.com/prometheus/procfs v0.23.0 // indirect
|
|
github.com/urfave/cli/v3 v3.14.0
|
|
github.com/wlynxg/anet v0.0.5 // indirect
|
|
github.com/zeebo/xxh3 v1.1.0 // indirect
|
|
go.uber.org/zap/exp v0.3.0 // indirect
|
|
golang.org/x/crypto v0.58.0 // indirect
|
|
golang.org/x/net v0.62.0
|
|
golang.org/x/sys v0.50.0 // indirect
|
|
golang.org/x/text v0.44.0 // indirect
|
|
golang.org/x/tools v0.52.1-0.20261106145633-d407941a339a // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20261110000943-09e21b237f2c // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20261110000943-09e21b237f2c // indirect
|
|
google.golang.org/grpc v1.85.0 // indirect
|
|
)
|
|
|
|
tool (
|
|
github.com/google/wire/cmd/wire
|
|
github.com/maxbrunsfeld/counterfeiter/v6
|
|
github.com/mfridman/tparse
|
|
golang.org/x/tools/cmd/goimports
|
|
)
|
|
|
|
replace github.com/pion/webrtc/v4 => github.com/livekit/webrtc-pion/v4 v4.2.25-warp.3
|
|
|
|
replace github.com/pion/ice/v4 => github.com/livekit/ice/v4 v4.4.8-warp.4
|