Skip to content

Update module github.com/pion/webrtc/v4 to v4.2.11#37

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-pion-webrtc-v4-4.x
Open

Update module github.com/pion/webrtc/v4 to v4.2.11#37
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-pion-webrtc-v4-4.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 13, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/pion/webrtc/v4 v4.1.1v4.2.11 age confidence

Release Notes

pion/webrtc (github.com/pion/webrtc/v4)

v4.2.11

Compare Source

Changelog

v4.2.10

Compare Source

Changelog

  • fc0a368 Add WithRenominationNominationAttribute
  • 1f19122 Added SettingEngine option to set RemoteIPFilter
  • 653ed36 Update module github.com/pion/sctp to v1.9.4 (#​3394)
  • d0fd56a Update module github.com/pion/ice/v4 to v4.2.2 (#​3398)
  • b409f21 Migrate to SCTP options API
  • 87b7c3e Update dependency @​roamhq/wrtc to ^0.10.0 (#​3393)
  • c36cb6e Added SettingEngine option to set DTLS ALPN
  • d0bc062 Apply modernize and lint upgrades
  • cfbbdc1 Update CI configs to v0.12.1
  • 4812b63 Include missing RID in InboundRTPStreamStats
  • e99ff7e Include stripping metadata and frame duration
  • 43ff05e Correct MIME Type for RTX Stream Codec
  • aa3b95c Add Stats() to ICETransport and SCTPTransport
  • a20e2b4 Fix NACKs sent to RTX track

v4.2.9

Compare Source

Changelog

v4.2.8

Compare Source

Changelog

  • e6e7e29 Upgrade ICE to fix a NOMINATION bug

v4.2.7

Compare Source

Changelog

  • 9850c0e Fix nil panic in ICECandidatePair.String()
  • 3b86589 Update module github.com/pion/sdp/v3 to v3.0.18 (#​3378)

v4.2.6

Compare Source

Changelog

v4.2.5

Compare Source

Changelog

  • 87533df Upgrade dtls to fix interop with OpenSSL

v4.2.4

Compare Source

Changelog

  • d4e4eaa Upgrade to dtls options
  • 8b9515c Update golang Docker tag to v1.26 (#​3372)
  • 374c864 Do not register duplicate RTCP feedbacks
  • 03d247f Update module github.com/pion/rtp to v1.10.1 (#​3367)
  • 9228f06 Add support for ICECandidatePoolSize
  • 1aaeffe Remove double base64 encoding of certificate.PEM()
  • 3f017b4 Fix data race in RTPSender.configureRTXAndFEC
  • 8ae4e83 Use LoggerFactory when interceptors are registered
  • 332878f AlwaysNegotiateDataChannels configuration flag
  • 66e3e51 Update CI configs to v0.11.37
  • f359e50 Add examples/quick-switch
  • 404c7f7 Add WARP example

v4.2.3

Compare Source

Changelog

  • 0425062 Update sctp to fix regression

v4.2.2

Compare Source

What's Changed

Special thanks to @​AkshayJainG for reporting and diagnosing several panic conditions in the IVF and OGG readers caused by malformed inputs. these fixes improve robustness when handling untrusted or malformed media inputs using ogg reader or ivf reader.

New Contributors

Full Changelog: pion/webrtc@v4.2.1...v4.2.2

v4.2.1

Compare Source

Changelog

  • a5ce252 Assert no repair after stop
  • 48f7ac7 Check for closed receiver before setting up rid

v4.2.0

Compare Source

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 #​3309.

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

Rule fields (high level):

  • External []string: the address or addresses you want to expose
  • Matchers: Local, CIDR, or Iface
  • Mode: Replace (default) or Append (keep the original and add the rewritten candidate)
  • Optional: AsCandidateType (for example, rewrite as srflx)
se := webrtc.SettingEngine{}

_ = se.SetICEAddressRewriteRules(
	webrtc.ICEAddressRewriteRule{
		Local:    "10.0.0.12",
		External: []string{"203.0.113.10"},
		// Mode omitted, defaults to Replace.
	},
)

api := webrtc.NewAPI(webrtc.WithSettingEngine(se))
// pc, _ := api.NewPeerConnection(...)
// For more advanced use.
se := webrtc.SettingEngine{}

se.SetICEAddressRewriteRules(
	// Allow eth0 (map RFC1918 to public 203.0.113.10)
	webrtc.ICEAddressRewriteRule{
		Iface:    "eth0",
		CIDR:     "10.0.0.0/8",
		External: []string{"203.0.113.10"},
		Mode:     webrtc.ICEAddressRewriteReplace,
	},

	// Allow eth1 (map 192.168/16 to public 198.51.100.20)
	webrtc.ICEAddressRewriteRule{
		Iface:    "eth1",
		CIDR:     "192.168.0.0/16",
		External: []string{"198.51.100.20"},
		Mode:     webrtc.ICEAddressRewriteReplace,
	},

	// Catch-all: drop any other IPv4 host candidates
	webrtc.ICEAddressRewriteRule{
		CIDR:     "0.0.0.0/0",
		Mode:     webrtc.ICEAddressRewriteReplace,
		External: nil, // drop
	},

	// Catch-all: drop any other IPv6 host candidates
	webrtc.ICEAddressRewriteRule{
		CIDR:     "::/0",
		Mode:     webrtc.ICEAddressRewriteReplace,
		External: nil, // drop
	},
)

SVT-AV1

HEVC reader and writer

  • #​3171

    • pkg/media/h265reader parses an H.265/HEVC Annex-B byte stream (start-code delimited) into NAL units you can work with.
    • pkg/media/h265writer takes H.265 RTP payloads (RFC 7798) and writes them back out as an Annex-B bytestream, which is useful for recording and archiving.

New OGG Reader API

  • A series of improvements to oggreader:

    • #​3301 adds OpusTags support via ParseOpusTags, enabling access to artist, title, and vendor comments.
    • #​3299 expands ParseOpusHead to parse Opus channel mappings for multichannel layouts.
    • #​3300 updates oggreader to handle multi-track Ogg by routing pages by serial and introducing NewWithOptions along with richer page and header APIs.
    • #​3302 validates the full flow by streaming single-track and multi-track Ogg with a playlist and metadata over DataChannel control, while audio remains on the RTP track.

More great features

  • Do not discard SEI NALs for H264/H265 — #​3313
  • Use ping-pong buffer for batch conn — pion/transport#363
  • Add CanTrickleICECandidates — #​3283
  • Add nohost gather policy — #​3305
  • Make Allocation/Permission lifetime configurable — pion/turn#495
  • RFC: Add a configurable sized nonce generator — pion/turn#460
  • Add AudioPlayoutStatsProvider interface for getting media-playout stats — #​3234
  • Expose stats ID for use in interceptor factories — #​3249
  • Allow IVFWriter Width/Height to be modified — #​3219
  • Allow IVFWriter Framerate to be modified — #​3220

New Examples

Major bug fixes

Performance improvement

@​3drx @​5ur3 @​aalekseevx @​aankur @​adeithe @​alexhu-oai @​amanakin @​andjcoll @​anshulmalik @​arindamnayak @​arjunshajitech @​asayyah @​astroza @​at-wat @​atoppi @​bajam-genetec @​berkant @​boks1971 @​britblue @​cgojin @​chaturvedishilpa @​chenosaurus @​cmorillas @​cnderrauber @​copilot @​cppcoffee @​debugmenot @​drshrey @​enobufs @​frantabot @​ghost @​hackerman-ru @​hanguyen-nuro @​hexbabe @​jackielii @​jasmoran @​jiajieli-dev @​joeturki @​juliapixel @​kevmo314 @​kmansoft @​lars-sto @​lidian-runner @​lkang-nuro @​mengelbart @​mikeyg42 @​miya-masa @​mrpomidoro @​nils-ohlmeier @​olexandr88 @​penhauer @​philipch07 @​pionbot @​rg0now @​ryanpotat @​sean-der @​setheck @​sirzooro @​sundenis @​sunofcoder @​sxmzou @​theodorsm @​thesyncim @​tmatth @​trs00 @​valorzard @​wrangelvid @​xinze-zheng @​yannismate @​yzhao-nuro

v4.1.8

Compare Source

Changelog

  • 0936b7d Option to check for fingerprint in DTLS handshake
  • 79d7571 Implement deadlines for mux
  • 21a8b0a Update module github.com/pion/stun/v3 to v3.0.2 (#​3293)
  • 62f6101 Do not invoke OnBufferedAmountLow after close

v4.1.7

Compare Source

Changelog

v4.1.6

Compare Source

Changelog

  • f35dc4e Handle nil stats getter in collect stats
  • caef6a9 Update module github.com/pion/sctp to v1.8.40 (#​3241)
  • a35c52a Update CI configs to v0.11.31
  • 4ca0aec Update module github.com/pion/rtp to v1.8.23

v4.1.5

Compare Source

Changelog

  • 0575dfb Add interface for getting media-playout stats
  • bf15721 Update module github.com/pion/transport/v3 to v3.0.8
  • 041211f Update module github.com/pion/interceptor to v0.1.41
  • 706c75b Update module github.com/pion/srtp/v3 to v3.0.8
  • 43976dc Update CI configs to v0.11.29
  • e0181e9 Update TestPeerConnection_SessionID to run on WASM
  • 5a0e56e Prefer makezero with a cap
  • 9acbc66 Cleanup statsGetter after peer is closed
  • 4c1261f Add inbound-rtp stats
  • 370412f Improve code cov
  • 7f1ab45 Remove unused file
  • 39d1b3c Apply go modernize suggestions
  • 781ff73 Create examples/data-channels-detach-create
  • f5fd0fa Update dependency @​roamhq/wrtc to v0.9.1
  • 6ef2888 Fix RTPSender.SetReadDeadline crash
  • 634a904 Fire OnBufferedAmountLow in a goroutine
  • 1527bfa Allow IVFWriter Framerate to be modified
  • cf7625d Allow IVFWriter Width/Height to be modified
  • 882f699 Update actions/setup-node action to v5
  • e9efed4 Fix trailing space in rtcp-fb with no Parameter
  • 457679c Update module github.com/pion/rtp to v1.8.22
  • 3bb8fce Update module github.com/pion/sdp/v3 to v3.0.16
  • 4eebb3e Update actions/checkout action to v5
  • 5b098de Update CI configs to v0.11.26
  • cda9130 Update CI configs to v0.11.25
  • e7183f9 Update CI configs to v0.11.24
  • c376d0e Match codec order of remote peer
  • 42b3cfd Update module github.com/stretchr/testify to v1.11.1
  • 2af60a4 Filter unattached RTX when getting codecs
  • 123f138 Update module github.com/stretchr/testify to v1.11.0
  • 4b37165 Tests to ensure proper direction in SDP
  • 6424d85 Consider remote direction in add track
  • 469ca2c Disallow incompatible transceiver directions
  • 2299a71 Add opt control transceiver re-use in recvonly
  • 3e84081 Add partialMatch codecs to transceiver from remote
  • c82d96c Remove RTX codec if no primary

v4.1.4

Compare Source

Changelog

  • 8efd17e Do not create receiver for ealy media in offerer
  • 29e1e00 Update module github.com/pion/turn/v4 to v4.1.1
  • afcb348 Add ice-proxy example
  • 1557d31 Update CI configs to v0.11.22
  • 22cf05c Upgrade to golangci-lint@​v2
  • 941b741 Update module github.com/pion/dtls/v3 to v3.0.7
  • bea05f6 Update module github.com/pion/srtp/v3 to v3.0.7
  • 4f1a287 Update golang Docker tag to v1.25
  • 7a94394 Log error when Read is used with simulcast
  • 5c3d582 WHIP-WHEP example improvements
  • f06b6bc Update module github.com/pion/sdp/v3 to v3.0.15
  • 1355f02 Update module github.com/pion/rtp to v1.8.21

v4.1.3

Compare Source

Changelog

  • 4c1af4c H265 reader & writer
  • e602e15 Update module github.com/pion/rtp to v1.8.20
  • 4f67c90 Replace custom atomicBool with sync/atomic.Bool
  • 887f5c6 Add sender receiver report
  • d3151fe Update module github.com/pion/logging to v0.2.4
  • 9b1ca73 Update dependency @​roamhq/wrtc to ^0.9.0
  • 6874548 Update CI configs to v0.11.20
  • 22dd7b7 Replace interface{} with any
  • f94e1be Update module github.com/pion/sdp/v3 to v3.0.14
  • 86e4719 Update module github.com/pion/srtp/v3 to v3.0.6
  • ddae46a Update module github.com/pion/rtp to v1.8.19

v4.1.2

Compare Source

Changelog

  • f5d98ce Updated Test_TrackLocalStatic_Padding test
  • 6f6038b Update module github.com/pion/interceptor to v0.1.40
  • 0bc9505 Copy PaddingSize from rtp.Packet to Header
  • 0b0f4ab Update module github.com/pion/srtp/v3 to v3.0.5
  • 7a46744 Fixed flake in TestPeerConnection_Media_Sample
  • 5fbbb6c Update module github.com/pion/interceptor to v0.1.39
  • 904bd78 Update module github.com/pion/rtp to v1.8.18
  • 27989a3 Update module github.com/pion/rtp to v1.8.17
  • dc29db1 Update module github.com/pion/rtp to v1.8.16
  • 4742d1f Fix trackDetailsFromSDP not handling fec ssrc
  • e68ce42 Add TestConfigureFlexFEC03_FECParameters
  • 08d015e ConfigureFlexFEC03 helper and fec example
  • ca48a0d Update module github.com/pion/interceptor to v0.1.38
  • cc3498c Update module github.com/pion/sdp/v3 to v3.0.13
  • 716beb5 Use space after WMS. Fixes #​3128
  • 7c5d163 Update module github.com/pion/sdp/v3 to v3.0.12
  • e606604 Set correct description for error

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.1.2 Update module github.com/pion/webrtc/v4 to v4.1.3 Jul 1, 2025
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from 6cb8b44 to 2a6119c Compare July 1, 2025 05:24
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.1.3 Update module github.com/pion/webrtc/v4 to v4.1.4 Aug 21, 2025
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from 2a6119c to b42c050 Compare August 21, 2025 23:28
@renovate
Copy link
Contributor Author

renovate bot commented Oct 4, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.13 -> 1.21

@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.1.4 Update module github.com/pion/webrtc/v4 to v4.1.5 Oct 4, 2025
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from b42c050 to 479869b Compare October 4, 2025 00:50
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from 479869b to 7fd9f37 Compare October 15, 2025 18:46
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.1.5 Update module github.com/pion/webrtc/v4 to v4.1.6 Oct 15, 2025
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.1.6 Update module github.com/pion/webrtc/v4 to v4.1.7 Dec 5, 2025
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from 7fd9f37 to e7deb81 Compare December 5, 2025 13:53
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.1.7 Update module github.com/pion/webrtc/v4 to v4.1.8 Dec 9, 2025
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from e7deb81 to 23866d9 Compare December 9, 2025 20:42
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.13 -> 1.24.0

@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from 23866d9 to 9338331 Compare December 24, 2025 01:55
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.1.8 Update module github.com/pion/webrtc/v4 to v4.2.0 Dec 24, 2025
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from 9338331 to b3901be Compare December 24, 2025 13:36
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.0 Update module github.com/pion/webrtc/v4 to v4.2.1 Dec 24, 2025
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from b3901be to 4dc127d Compare January 9, 2026 22:04
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.1 Update module github.com/pion/webrtc/v4 to v4.2.2 Jan 9, 2026
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from 4dc127d to 3ff17d8 Compare January 12, 2026 17:22
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.2 Update module github.com/pion/webrtc/v4 to v4.2.3 Jan 12, 2026
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.3 Update module github.com/pion/webrtc/v4 to v4.2.4 Feb 11, 2026
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch 2 times, most recently from e7edd2c to d9e77b6 Compare February 12, 2026 11:59
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.4 Update module github.com/pion/webrtc/v4 to v4.2.6 Feb 12, 2026
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from d9e77b6 to c7ee225 Compare February 18, 2026 20:26
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.6 Update module github.com/pion/webrtc/v4 to v4.2.7 Feb 18, 2026
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from c7ee225 to 94b2b9a Compare February 19, 2026 22:01
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.7 Update module github.com/pion/webrtc/v4 to v4.2.8 Feb 19, 2026
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from 94b2b9a to acb618c Compare February 21, 2026 17:54
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.8 Update module github.com/pion/webrtc/v4 to v4.2.9 Feb 21, 2026
@renovate renovate bot force-pushed the renovate/github.com-pion-webrtc-v4-4.x branch from acb618c to 2014f0f Compare March 25, 2026 21:28
@renovate renovate bot changed the title Update module github.com/pion/webrtc/v4 to v4.2.9 Update module github.com/pion/webrtc/v4 to v4.2.11 Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants