Repository navigation
Update module github.com/pion/rtp to v2 - #539
renovate[bot] wants to merge 1 commit into
Conversation
| github.com/pion/interceptor v0.1.49 | ||
| github.com/pion/rtcp v1.2.19 | ||
| github.com/pion/rtp v1.10.5 | ||
| github.com/pion/rtp/v2 v2.0.0 |
There was a problem hiding this comment.
🟡 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.
Was this helpful? React with 👍 or 👎 to provide feedback.
Generated by renovateBot
73b9a73 to
1d529b4
Compare
This PR contains the following updates:
v1.10.5→v2.0.0Release Notes
pion/rtp (github.com/pion/rtp)
v2.0.0Compare Source
v1.10.6Compare Source
Changelog
9a8f935Avoid quadratic copying in AV1 fragment reassemblyf34b779Zero RTP padding when marshaling into reused bufferse24c716Fix panics in h264 Spreader.Process3a98767Always use 2-byte PictureID in VP8Payloader (#377)cbf78a2Always send PictureID 0 in VP8Payloader6d66ac7Update CI configs to v0.12.8d312bf6Filter OBU-padding8e8b023Update CI configs to v0.12.74129840Update module github.com/stretchr/testify to v1.12.1 (#369)533cf7cUpdate module github.com/stretchr/testify to v1.12.0 (#368)4340606Update CI configs to v0.12.6Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.