Skip to main content

Module rtp_echo

Module rtp_echo 

Source
Expand description

A bounded RTP/PCMU echo peer for downstream media tests.

This is a diagnostic fixture over the public packet and codec APIs, not a SIP user agent or a production media service. One RtpEcho owns one UDP socket and RtpEcho::run spawns no task, so completion, error and cancellation all have the same cleanup path: drop the future and the socket is released.

Structs§

EchoConfig
Explicit, finite configuration for one RTP echo run.
EchoReport
What one finite echo run completed.
RtpEcho
A bound, not-yet-running RTP echo fixture.

Enums§

EchoError
A bounded RTP echo operation that could not be performed.

Constants§

MAX_DATAGRAM_BYTES
Largest RTP datagram this telephony fixture admits.