Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2026

Bumps github.com/pion/webrtc/v4 from 4.1.6 to 4.2.1.

Release notes

Sourced from github.com/pion/webrtc/v4's releases.

v4.2.1

Changelog

  • a5ce25266ea8ca336f04dc9775d0809024b531f6 Assert no repair after stop
  • 48f7ac7c64851ad80cdbffcbc587fdb5651b23c1 Check for closed receiver before setting up rid

v4.2.0

We are pleased to announce our final and largest release of 2025. This release includes contributions from 69 contributors.

This release also marks a new era for Pion. Going forward, we will publish releases on a regular schedule.

Major new features

RACK

ICE Renomination

// For advanced use with a custom generator and interval.
se := webrtc.SettingEngine{}
interval := 2 * time.Second
customGen := func() uint32 { return uint32(time.Now().UnixNano()) } // example
if err := se.SetICERenomination(
webrtc.WithRenominationGenerator(customGen),
webrtc.WithRenominationInterval(interval),
); err != nil {
log.Println(err)
}

Cryptex

  • Pion now supports Cryptex, enabling full encryption of RTP headers and header extensions. This work is included in pion/srtp#324 and pion/sdp#213.

FlexFEC

ICEAddressRewriteRule

  • Pion’s NAT 1:1 API is now deprecated. After years of use, it no longer fits modern deployment models. This change is implemented in pion/ice#834 and pion/webrtc#3309.

The new API, SetICEAddressRewriteRules(rules ...ICEAddressRewriteRule) error, rewrites the IP addresses embedded in gathered ICE candidates.

Rule fields (high level):

... (truncated)

Commits
  • a5ce252 Assert no repair after stop
  • 48f7ac7 Check for closed receiver before setting up rid
  • 45fa3ed Update module github.com/pion/sctp to v1.9.0
  • b997b87 Update CI configs to v0.11.36
  • 39dee98 Undo OGG API deprecation
  • d8828d6 Advertise ICE renomination option
  • 0f4f3a0 Update module github.com/pion/sdp/v3 to v3.0.17
  • f2fe992 Update module github.com/pion/rtp to v1.8.27
  • 7298add Add an option to include SEI NALs for H264/H265 (#3313)
  • cf04e20 Add nohost gather policy
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/pion/webrtc/v4](https://github.com/pion/webrtc) from 4.1.6 to 4.2.1.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](pion/webrtc@v4.1.6...v4.2.1)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant