Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ require (
github.com/livekit/psrpc v0.8.2
github.com/livekit/server-sdk-go/v2 v2.19.0
github.com/pion/dtls/v3 v3.1.15
github.com/pion/dtls/v4 v4.0.1
github.com/pion/interceptor v0.1.51
github.com/pion/rtcp v1.2.20
github.com/pion/rtp v1.10.6
github.com/pion/rtp/v2 v2.0.0

@devin-ai-integration devin-ai-integration Bot Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 RTP upgrade leaves WHIP on v1

Adding github.com/pion/rtp/v2 does not upgrade WHIP: createDepacketizer and RelayWhipTrackHandler still import v1. The receiver keeps the old RTP behavior and misses the v2 fixes.

Learn more

Go treats github.com/pion/rtp and github.com/pion/rtp/v2 as separate modules. Adding the v2 requirement does not replace the v1 module. Both createDepacketizer and RelayWhipTrackHandler continue using v1 imports, so this change does not upgrade their RTP processing.

Example: A WHIP video track still creates its H264 depacketizer from the v1 codecs package after this change, even though go.mod now lists v2.

Recommended fix: Migrate the direct RTP imports to github.com/pion/rtp/v2 and its codecs, adapting interfaces and dependent APIs as needed. Retain the v1 requirement only if transitive consumers still require it, and run go mod tidy after the migration.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

github.com/pion/sdp/v3 v3.0.20
github.com/pion/webrtc/v4 v4.2.26
github.com/prometheus/client_golang v1.25.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ github.com/pion/datachannel v1.6.3 h1:HZAYLpunVI0xi057ZiANl558d0uSpomcWw4UEPz3qX
github.com/pion/datachannel v1.6.3/go.mod h1:oRmkXVVXxkUbqa8MatgdNHW29kvtQY3HUdjJQsfv2GE=
github.com/pion/dtls/v3 v3.1.15 h1:okWk5LNwU21DfhvG8z4wm45knHVSPEdkihwp6BxfQcc=
github.com/pion/dtls/v3 v3.1.15/go.mod h1:iKFQNYrjsN2TiA2YKKMqB9MOZaFpjFULBI/A4sW0eyc=
github.com/pion/dtls/v4 v4.0.1/go.mod h1:d0wnjVER+gonPBUifSj6ZeGXClyHxYfctzvOELtsNb4=
github.com/pion/ice/v4 v4.4.8 h1:NB22Ze5WrgMjcf9L+O+1B29bl6anq+sbyvddImDLdhc=
github.com/pion/ice/v4 v4.4.8/go.mod h1:zCRRg4Mkpdbx9B+75fd4z2APvIXeIraeUOB7IMPt8mU=
github.com/pion/interceptor v0.1.51 h1:PU09y6RghjWXR4AYJ+AVNyDX7EmgIZuDFMGDl6smKQA=
Expand All @@ -152,6 +153,7 @@ github.com/pion/rtcp v1.2.20 h1:ZxQpb1Z3st9W5Rts4PjGoC3ynDhUtQ9B/itKJho8h2I=
github.com/pion/rtcp v1.2.20/go.mod h1:vX7Es6skWYm4oVvOSC5+4WHLYUTZHcbGNmk5wjzMGH4=
github.com/pion/rtp v1.10.6 h1:1qs356bmniSc89gTF1KFdI0kej7qTdIUSnHOXu3P2EY=
github.com/pion/rtp v1.10.6/go.mod h1:qvV617FVkp5DBUfoHGxP8uOnTI4UaNDJK0z7Sildylk=
github.com/pion/rtp/v2 v2.0.0/go.mod h1:Vj+rrFbJCT3yxqE/VSwaOo9DQ2pMKGPxuE7hplGOlOs=
github.com/pion/sctp v1.12.0 h1:AzUdVkVBNyGY1W4crWO1/aOWzMaW3zsVHGrNuAfFQiI=
github.com/pion/sctp v1.12.0/go.mod h1:6k1zrpkrxSwbisitn/AlzDQaa15DR49MFsrMochG/yc=
github.com/pion/sdp/v3 v3.0.20 h1:TS6DViqcmp+49f0+mjw9anbr9xY3vJtsZewxAvlMCRQ=
Expand Down
Loading