fix(deps): mirror livekit's pion/webrtc + ice replaces for server-sdk-go v2.20.0

server-sdk-go v2.20.0 builds against livekit/webrtc-pion (dtls/v4) via a
replace directive, and Go does not apply a dependency's replaces to the
consumer, so the build failed with dtls/v3 vs dtls/v4 type mismatches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-11-20 00:24:05 +00:00
parent 940caaa673
commit 2c7ab12f87
2 changed files with 8 additions and 4 deletions

4
go.mod
View file

@ -126,3 +126,7 @@ require (
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.12.1 // indirect
)
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