Skip to main content

Module tcp_framing

Module tcp_framing 

Source
Expand description

RFC 4571 framing for RTP/RTCP over TCP.

Structs§

FrameTooLargeError
The payload doesn’t fit in the 2 bytes length header of a frame or exceeds MAX_FRAME_SIZE.
TcpCodec
Finds RFC 4571 frames: a 2 bytes length prefix, then the payload.
TcpFrame

Constants§

MAX_FRAME_SIZE
Largest frame payload the decoder accepts, in bytes.

Type Aliases§

TcpFrameDecoder
Incremental decoder of RFC 4571 frames, see StreamDecoder.