releases.shpreview

Keepalive frames no longer leak uninitialized memory; NVENC AV1 added

webrtc-sys/v0.3.40

July 28, 2026Rust SDKsView original ↗
1 enhancement1 fixThis release1 enhancementImprovements to existing features1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗

Fixes

  • Emit black keepalive frames from NativeVideoSource instead of uninitialized memory. webrtc::I420Buffer::Create leaves the pixel planes uninitialized, so the pre-capture keepalive frames could leak recycled heap contents (often fragments of earlier frames from the same process) to subscribers as the first keyframes - #1271 (@eh-steve)
  • Add NVIDIA NVENC AV1 encoding when the GPU reports AV1 encode support.

Fetched July 28, 2026