mirror of
https://github.com/livekit/livekit.git
synced 2026-09-09 16:15:34 +00:00
* report a reason on room-ended telemetry Room.Close already took a ParticipantCloseReason, but OnClose was func() with no arguments, so the reason was structurally dropped before it could reach RoomEnded. Add types.RoomCloseReason and carry it through Close -> OnClose -> RoomEnded, where it lands on both the analytics event and the room_finished webhook. Room.Close now takes the room reason and derives the participant reason from it, so the two can never disagree. ToParticipantCloseReason maps each reason to exactly what its call site passed before, so no participant-facing behaviour changes; a table test pins that mapping. * fix(test): update webhook test for RoomCloseReason test/ was outside the packages checked before pushing, so this Close call site was missed. Also assert the reason reaches the room_finished webhook, which the unit test cannot cover since it runs with a nil notifier.
171 lines
7.1 KiB
AMPL
171 lines
7.1 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.0.1
|
|
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.1
|
|
github.com/gammazero/workerpool v1.2.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-20260821083140-f234b534b095
|
|
github.com/livekit/protocol v1.50.5-0.20260829061921-678f2494b3a7
|
|
github.com/livekit/psrpc v0.7.5
|
|
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.5.1
|
|
github.com/olekukonko/tablewriter v1.1.4
|
|
github.com/ory/dockertest/v4 v4.0.0
|
|
github.com/pion/datachannel v1.6.2
|
|
github.com/pion/dtls/v3 v3.1.5
|
|
github.com/pion/ice/v4 v4.4.0
|
|
github.com/pion/interceptor v0.1.47
|
|
github.com/pion/rtcp v1.2.17
|
|
github.com/pion/rtp v1.10.5
|
|
github.com/pion/sctp v1.11.1
|
|
github.com/pion/sdp/v3 v3.0.19
|
|
github.com/pion/transport/v4 v4.1.0
|
|
github.com/pion/turn/v5 v5.0.13
|
|
github.com/pion/webrtc/v4 v4.2.18
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/prometheus/client_golang v1.24.1
|
|
github.com/redis/go-redis/v9 v9.22.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-20260529044130-17c35e68e58c
|
|
github.com/urfave/negroni/v3 v3.1.1
|
|
go.uber.org/atomic v1.11.0
|
|
go.uber.org/multierr v1.11.0
|
|
go.uber.org/zap v1.28.0
|
|
golang.org/x/mod v0.40.0
|
|
golang.org/x/sync v0.22.0
|
|
google.golang.org/protobuf v1.36.12
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/cenkalti/backoff/v5 v5.0.3 // 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/fatih/color v1.19.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/goccy/go-json v0.10.6 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
|
|
github.com/gotesttools/gotestfmt/v2 v2.4.1 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.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.12.2 // indirect
|
|
github.com/moby/moby/api v1.55.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/petermattis/goid v0.0.0-20260820044319-269ab09b5261 // indirect
|
|
github.com/puzpuzpuz/xsync/v4 v4.5.0 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect
|
|
go.opentelemetry.io/otel v1.46.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 // indirect
|
|
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.44.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.46.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.44.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.46.0 // indirect
|
|
go.opentelemetry.io/proto/otlp v1.10.0 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
|
golang.org/x/exp v0.0.0-20260824195058-e88cd73687aa // indirect
|
|
golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 // indirect
|
|
golang.org/x/time v0.15.0 // indirect
|
|
)
|
|
|
|
require (
|
|
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.12-20260825204119-511051f7f437.1 // indirect
|
|
buf.build/go/protovalidate v1.3.0 // indirect
|
|
buf.build/go/protoyaml v0.7.0 // indirect
|
|
cel.dev/expr v0.25.3 // 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.7.0 // 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/cel-go v0.31.0 // 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.19.2 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.4.0 // 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/nats-io/nats.go v1.53.1 // indirect
|
|
github.com/nats-io/nkeys v0.4.16 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // 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.1.0 // indirect
|
|
github.com/pion/randutil v0.1.0 // indirect
|
|
github.com/pion/srtp/v3 v3.0.13 // indirect
|
|
github.com/pion/stun/v3 v3.1.7
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/client_model v0.6.2 // indirect
|
|
github.com/prometheus/common v0.70.1 // indirect
|
|
github.com/prometheus/procfs v0.21.1 // indirect
|
|
github.com/urfave/cli/v3 v3.10.1
|
|
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.55.0 // indirect
|
|
golang.org/x/net v0.58.0 // indirect
|
|
golang.org/x/sys v0.47.0 // indirect
|
|
golang.org/x/text v0.41.0 // indirect
|
|
golang.org/x/tools v0.49.0 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20260825221802-da73d73af1c5 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260825221802-da73d73af1c5 // indirect
|
|
google.golang.org/grpc v1.83.2 // indirect
|
|
)
|
|
|
|
tool (
|
|
github.com/google/wire/cmd/wire
|
|
github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt
|
|
github.com/maxbrunsfeld/counterfeiter/v6
|
|
golang.org/x/tools/cmd/goimports
|
|
)
|
|
|
|
replace github.com/pion/webrtc/v4 => github.com/livekit/webrtc-pion/v4 v4.2.18-warp.1
|
|
|
|
replace github.com/pion/dtls/v3 => github.com/livekit/dtls/v3 v3.1.5-warp.1
|
|
|
|
replace github.com/pion/ice/v4 => github.com/livekit/ice/v4 v4.4.0-warp.1
|