rtci-rtcp 0.2.1

RTCP packet parsing and serialization (RFC 3550, RFC 4585, RFC 5104, RFC 3611, RFC 8888) for WebRTC
Documentation

rtci-rtcp

RTCP packet parsing and serialization: sender and receiver reports, source description, BYE, application-defined packets, the transport-layer and payload-specific feedback messages (NACK, TWCC, PLI, FIR, REMB and others), extended reports and congestion control feedback, and compound packets.

Specifications

  • RFC 3550, RTCP packet formats; RFC 5506, reduced-size RTCP
  • RFC 4585, RTP/AVPF feedback; RFC 5104, codec control messages
  • RFC 3611, RTCP extended reports; RFC 6679, ECN feedback
  • RFC 8888, RTCP congestion control feedback; RFC 7728, pause and resume

Clause-by-clause status, with the test that proves each clause: rfc3550, rfc4585, rfc5104, rfc3611, rfc6679, rfc8888.

Use

rtci_rtcp::packet::unmarshal parses a (compound) RTCP datagram into packets; every packet type implements rtci-shared's Marshal / Unmarshal. The RTCP session logic (when to send what) is in rtci-interceptor.

Sans-I/O

A codec only: bytes in, typed packets out, and back. It holds no state between packets and reads no clock.

Licence

Licensed under either of the MIT licence or the Apache License, Version 2.0, at your option.

This crate is part of the rtci workspace, which descends from webrtc-rs/rtc and is developed independently; FORK.md lists what it carries over upstream. Upstream's licence and copyright notices are retained.