Skip to content

Conversation

@acooks
Copy link
Owner

@acooks acooks commented Dec 28, 2025

Add H.265/HEVC WebRTC video playback support:

  • H.265 VPS/SPS/PPS parameter set storage and bundling with IRAP frames
  • H.265 RTP depacketization (single NAL, AP, FU packet types)
  • Proper RTP timestamp handling for frame ordering
  • NACK responder for packet retransmission on lossy networks
  • Browser codec capability detection with user-friendly error messages

Bundle libdatachannel 0.23.3 as a submodule:

  • Ubuntu 22.04 doesn't have libdatachannel in repos
  • Fedora's 0.21.x has a bug breaking H.265 RTP timestamps (PR #1370)
  • Auto-builds on first compile via deps-libdatachannel target

Enable ENABLE_WEBRTC_PLAYBACK=1 by default. Use ENABLE_WEBRTC_PLAYBACK=0 to disable and reduce binary size.

Tested: H.264 and H.265 streams play smoothly in Chrome 136+ and Safari.

🤖 Generated with Claude Code

Add H.265/HEVC WebRTC video playback support:
- H.265 VPS/SPS/PPS parameter set storage and bundling with IRAP frames
- H.265 RTP depacketization (single NAL, AP, FU packet types)
- Proper RTP timestamp handling for frame ordering
- NACK responder for packet retransmission on lossy networks
- Browser codec capability detection with user-friendly error messages

Bundle libdatachannel 0.23.3 as a submodule:
- Ubuntu 22.04 doesn't have libdatachannel in repos
- Fedora's 0.21.x has a bug breaking H.265 RTP timestamps (PR #1370)
- Auto-builds on first compile via deps-libdatachannel target

Enable ENABLE_WEBRTC_PLAYBACK=1 by default. Use ENABLE_WEBRTC_PLAYBACK=0
to disable and reduce binary size.

Tested: H.264 and H.265 streams play smoothly in Chrome 136+ and Safari.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@acooks acooks merged commit 6586ecb into master Dec 28, 2025
1 of 3 checks passed
@acooks acooks deleted the feat/webrtc-hevc branch December 28, 2025 10:10
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.

2 participants