7 releases
| new 0.3.4 | Feb 4, 2026 |
|---|---|
| 0.3.3 | Feb 4, 2026 |
| 0.3.0 | Jan 25, 2026 |
| 0.2.1 | Oct 19, 2025 |
#292 in Video
397 downloads per month
Used in 8 crates
(3 directly)
38KB
886 lines
Video and audio codec implementations
Implementation Status
The current codec implementations are stub/simulation implementations designed for:
- Development and testing without external codec libraries
- API design validation and interface stabilization
- Performance testing of the transport layer
OpenH264 (Video)
- Current: Simulation using compression (achieves ~25% size reduction for testing)
- Production: Will integrate with real openh264 crate when
h264feature is enabled - Status: Safe for development/testing, not for production video calls
Opus (Audio)
- Current: Simulation with frame size validation and format conversion
- Production: Will integrate with real opus crate when
opusfeature is enabled - Status: Safe for development/testing, not for production audio calls
Migration Path
To use real codecs in production:
- Enable the respective features:
features = ["h264", "opus"] - Replace stub implementations in
openh264.rsandopus.rs - Run integration tests with actual codec libraries
The stub implementations maintain the same API surface, so migration is transparent to users.
Dependencies
~0.4–2.5MB
~49K SLoC