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.