23 stable releases
Uses new Rust 2024
| 1.0.103 | Oct 22, 2025 |
|---|---|
| 1.0.102 | Oct 5, 2025 |
| 1.0.60 | Sep 29, 2025 |
#207 in Video
78KB
2K
SLoC
commucat-media
Media primitives shared by the CommuCat server and operational tools.
Features
- Safe wrappers for audiopus and env-libvpx to encode/decode Opus and VP8/VP9 frames.
CallMediaPipeline(featurepipeline) – synchronous Opus encode/decode loop with frame duration control for smoke testing.voicemodule – encoders/decoders, signal level helpers, integration withcommucat-media-types.videomodule – RAW I420 → VP8/VP9 encoding, optional AV1/H.264 support through thecodec-av1andcodec-h264features.capture(featureaudio-io) – PCM capture via cpal producingi16frames.
Limitations
- Adaptive bitrate, forward error correction and SVC are only partially implemented and not wired into end-to-end flows yet.
- AV1/H.264 rely on native libraries (
rav1e,openh264); enabling the features pulls the corresponding build dependencies. - No GPU/accelerated codec bindings are provided.
Dependencies
~5–44MB
~567K SLoC