// SPDX-License-Identifier: Apache-2.0
//
//! 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).
use crate;
pub use PlivoSerializer;
/// Carrier-specific WS framing. Implementations are pure functions over frames
/// (no sockets, no async) so they are trivially unit-testable.