Skip to content

Encode H.264 with our own VideoToolbox session: AutoLevel, no rate freeze, High for Chrome - #233

Merged
MarshalX merged 2 commits into
mainfrom
fix-videotoolbox-h264-encoder
Oct 11, 2026
Merged

MarshalX merged 2 commits into
mainfrom
fix-videotoolbox-h264-encoder

Conversation

@MarshalX

Copy link
Copy Markdown
Owner
  • Replace the SDK's VideoToolbox H.264 encoder with our own; the SDK decoder stays
  • Fix 1080p/4K sending nothing: use AutoLevel instead of the SDP's level 3.1
  • Fix bitrate stuck at ~600 kbps: drop DataRateLimits, which freezes later bitrate increases
  • Offer High (64001f) for Chrome, which lacks Constrained High
  • 720p/1080p/4K now reach 2.5/5.0/15.6 Mbps; Chrome decodes our 1080p
  • Add a macOS test that 1080p H.264 gets encoded

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 wrtc | 🛠️ Build #35076426 | 📁 Comparing ae3c42a against latest (c6e84b6)

  🔍 Preview build  

1 file changed
+ search/index.html

@MarshalX
MarshalX merged commit 0c0a7eb into main Oct 11, 2026
1 check was pending
@MarshalX
MarshalX deleted the fix-videotoolbox-h264-encoder branch October 11, 2026 18:09
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.

1 participant