Skip to content

fix: Various improvements to WHEP input, AES67 output, and logging - #36

Merged
srperens merged 1 commit into
mainfrom
fix/various-fixes
Nov 24, 2025
Merged

fix: Various improvements to WHEP input, AES67 output, and logging#36
srperens merged 1 commit into
mainfrom
fix/various-fixes

Conversation

@srperens

Copy link
Copy Markdown
Collaborator

Summary

  • WHEP Input: Add capsfilter (48kHz) after liveadder, expose mixer_latency_ms property (default 30ms)
  • AES67 Output: Set processing-deadline on udpsink to match ptime value
  • Logging: Move verbose stats/latency/WebRTC logs to trace level
  • Frontend: Fix WASM "env" module error by enabling wasm-bindgen feature for instant crate

Changes

WHEP Input block

  • Added capsfilter after liveadder to enforce 48kHz sample rate for downstream compatibility
  • Exposed mixer_latency_ms property (default 30ms instead of 200ms) for lower latency
  • Fixed liveadder latency property type (expects u32 milliseconds, not ClockTime)

AES67 Output block

  • Set processing-deadline on udpsink to match the ptime value for proper packet timing

Logging improvements

  • Changed verbose stats, latency query, and WebRTC stats logs from info! to trace!
  • Reduces log spam during normal operation while keeping debug info available

Frontend WASM fix

  • Added wasm-bindgen feature to instant crate for WASM builds
  • Fixes "Failed to resolve module specifier 'env'" error in browser console

Test plan

  • Start backend and verify web UI loads without console errors
  • Test WHEP input with audio stream
  • Verify AES67 output timing
  • Check that logs are less verbose at info level

🤖 Generated with Claude Code

WHEP Input block:
- Add capsfilter after liveadder to enforce 48kHz sample rate
- Expose mixer_latency_ms property (default 30ms, was 200ms)
- Fix liveadder latency property type (u32 milliseconds, not ClockTime)

AES67 Output block:
- Set processing-deadline on udpsink to match ptime value

Logging:
- Move verbose stats/latency/WebRTC logs to trace level
- Reduces log spam during normal operation

Frontend:
- Fix WASM "env" module error by enabling wasm-bindgen feature for instant crate

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

Co-Authored-By: Claude <noreply@anthropic.com>
@srperens
srperens merged commit 4a7ac99 into main Nov 24, 2025
8 checks passed
@srperens
srperens deleted the fix/various-fixes branch November 25, 2025 13:56
birme pushed a commit to eyevinn-osaas/strom that referenced this pull request Feb 2, 2026
fix: Various improvements to WHEP input, AES67 output, and logging
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