Skip to main content

Module serializer

Module serializer 

Source
Expand description

Per-carrier WebSocket framing. Pure (no I/O): turns inbound frames into normalized SerIn events and encodes outbound audio/clears into WsOut.

See DESIGN.md “Trait contracts”. The one concrete serializer is plivo (Plivo <Stream> JSON+base64). SIP/RTP carriers do not use a WS-media serializer — they ride native SIP/RTP (crate::sip), so the former FreeSWITCH gateway serializer was removed (see SIP-DESIGN.md §4).

Re-exports§

pub use plivo::PlivoSerializer;

Modules§

plivo
Plivo <Stream> WebSocket serializer.

Traits§

MediaSerializer
Carrier-specific WS framing. Implementations are pure functions over frames (no sockets, no async) so they are trivially unit-testable.